Marcelo Ricardo Leitner 24c0e6838c 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>
2015-03-23 17:01:58 -04:00
..
2015-03-02 12:08:43 -05:00
2015-03-17 10:41:26 -07:00
2015-02-17 09:27:54 -08:00
2015-02-15 10:48:44 -08:00
2015-02-03 15:48:51 -08:00
2015-02-25 11:38:46 +11:00
2015-03-02 16:43:41 -05:00
2015-02-03 15:58:39 -08:00
2015-02-18 09:05:48 -08:00
2015-02-04 09:15:18 +01:00
2015-03-12 09:45:46 -07:00
2015-02-17 09:38:59 -08:00
2015-02-15 10:24:55 -08:00
2015-02-18 08:40:29 +01:00
2015-02-17 09:38:59 -08:00
2015-03-08 12:25:40 -07:00
2015-02-15 10:24:55 -08:00
2015-02-03 15:58:39 -08:00