diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-11-07 21:09:07 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-09 23:59:50 (GMT) |
commit | 4053ab1bf98dd128344b9e67ef139f931a967ae1 (patch) | |
tree | 45bfdd24fded10417afccebdfdf182e08ddbdfde /net/netfilter/nft_dynset.c | |
parent | 6dbcd8fb5968fda3a5fba019dfb0c80c3139627b (diff) | |
download | linux-4053ab1bf98dd128344b9e67ef139f931a967ae1.tar.xz |
vxlan: hide unused local variable
A bugfix introduced a harmless warning in v4.9-rc4:
drivers/net/vxlan.c: In function 'vxlan_group_used':
drivers/net/vxlan.c:947:21: error: unused variable 'sock6' [-Werror=unused-variable]
This hides the variable inside of the same #ifdef that is
around its user. The extraneous initialization is removed
at the same time, it was accidentally introduced in the
same commit.
Fixes: c6fcc4fc5f8b ("vxlan: avoid using stale vxlan socket.")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/nft_dynset.c')
0 files changed, 0 insertions, 0 deletions