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:31:00 -0800 |
commit | d980ed627b35d4685a4a27561dc3fc7a09226dab (patch) | |
tree | a74fe986e34dc263bb03852952eb471abe646944 /drivers/net/xen-netback/common.h | |
parent | bd83cd77073e5c54a88f976d6d6c785a1a80b0c0 (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 'drivers/net/xen-netback/common.h')
0 files changed, 0 insertions, 0 deletions