net: convert __IPTUNNEL_XMIT() to an inline function
authorAmerigo Wang <amwang@redhat.com>
Sun, 11 Nov 2012 21:52:33 +0000 (21:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Nov 2012 23:49:50 +0000 (18:49 -0500)
commitaa0010f880ab542da3ad0e72992f2dc518ac68a0
treefe030d13bb1fcbf6071b268f06c068e2a7a50b0e
parentbf0098f22ca7b59e8844ac6882bbae230d34b98d
net: convert __IPTUNNEL_XMIT() to an inline function

__IPTUNNEL_XMIT() is an ugly macro, convert it to a static
inline function, so make it more readable.

IPTUNNEL_XMIT() is unused, just remove it.

Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c
include/linux/if_tunnel.h
include/net/ipip.h
net/ipv4/ip_gre.c
net/ipv4/ip_vti.c
net/ipv4/ipip.c
net/ipv6/ip6_gre.c
net/ipv6/ip6_tunnel.c
net/ipv6/sit.c