diff options
author | David S. Miller <davem@davemloft.net> | 2013-10-08 15:44:26 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-04 04:35:12 -0800 |
commit | f94b591b19d4c7c5d3aea008d1df8ec3d0abdd84 (patch) | |
tree | a0878eebd592dd82137f2c2c7c180f550dc32064 /net/socket.c | |
parent | 84ee5cbb9a39a879806d79e0b4812c332418e52a (diff) |
l2tp: Fix build warning with ipv6 disabled.
[ Upstream commit 8d8a51e26a6d415e1470759f2cf5f3ee3ee86196 ]
net/l2tp/l2tp_core.c: In function ‘l2tp_verify_udp_checksum’:
net/l2tp/l2tp_core.c:499:22: warning: unused variable ‘tunnel’ [-Wunused-variable]
Create a helper "l2tp_tunnel()" to facilitate this, and as a side
effect get rid of a bunch of unnecessary void pointer casts.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions