From: David S. Miller Date: Tue, 8 Oct 2013 19:44:26 +0000 (-0400) Subject: l2tp: Fix build warning with ipv6 disabled. X-Git-Tag: v3.12-rc7~20^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d8a51e26a6d415e1470759f2cf5f3ee3ee86196;p=pandora-kernel.git 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 --- Reading git-diff-tree failed