vxlan: silence one build warning
authorZhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Mon, 28 Oct 2013 06:01:48 +0000 (14:01 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Oct 2013 04:19:04 +0000 (00:19 -0400)
commit39deb2c7db420b4bc19c65ee3ceb1cd34ee07756
tree57de49e2efab5ea4d6244d8ec7d6414162b726a5
parentdaba287b299ec7a2c61ae3a714920e90e8396ad5
vxlan: silence one build warning

drivers/net/vxlan.c: In function ‘vxlan_sock_add’:
drivers/net/vxlan.c:2298:11: warning: ‘sock’ may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/net/vxlan.c:2275:17: note: ‘sock’ was declared here
  LD      drivers/net/built-in.o

Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c