diff options
author | David S. Miller <davem@davemloft.net> | 2013-10-08 15:44:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-08 15:44:26 -0400 |
commit | 8d8a51e26a6d415e1470759f2cf5f3ee3ee86196 (patch) | |
tree | e9a32c88110ccf5382726ec1d7321ebfa2e878d2 /tools | |
parent | 5c0c52c9102f90c9d5674fb6c5f4f23e3019dd9f (diff) | |
download | linux-8d8a51e26a6d415e1470759f2cf5f3ee3ee86196.tar.bz2 |
l2tp: Fix build warning with ipv6 disabled.
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions