diff options
author | Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> | 2015-03-23 20:23:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-23 22:01:58 +0100 |
commit | 24c0e6838cb4888366008bd36e0a77a995b18bb7 (patch) | |
tree | bec8de4cb748cbfd545b27c45c0280a64979da15 /net/dccp | |
parent | fib_trie: Fix regression in handling of inflate/halve failure (diff) | |
download | linux-24c0e6838cb4888366008bd36e0a77a995b18bb7.tar.xz linux-24c0e6838cb4888366008bd36e0a77a995b18bb7.zip |
vxlan: simplify if clause in dev_close
Dan Carpenter's static checker warned that in vxlan_stop we are checking
if 'vs' can be NULL while later we simply derreference it.
As after commit 56ef9c909b40 ("vxlan: Move socket initialization to
within rtnl scope") 'vs' just cannot be NULL in vxlan_stop() anymore, as
the interface won't go up if the socket initialization fails. So we are
good to just remove the check and make it consistent.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
0 files changed, 0 insertions, 0 deletions