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>
Showing
- drivers/net/vxlan.c 1 addition, 1 deletiondrivers/net/vxlan.c
- include/linux/if_tunnel.h 10 additions, 0 deletionsinclude/linux/if_tunnel.h
- include/net/ipip.h 21 additions, 19 deletionsinclude/net/ipip.h
- net/ipv4/ip_gre.c 1 addition, 13 deletionsnet/ipv4/ip_gre.c
- net/ipv4/ip_vti.c 0 additions, 9 deletionsnet/ipv4/ip_vti.c
- net/ipv4/ipip.c 1 addition, 13 deletionsnet/ipv4/ipip.c
- net/ipv6/ip6_gre.c 0 additions, 9 deletionsnet/ipv6/ip6_gre.c
- net/ipv6/ip6_tunnel.c 0 additions, 8 deletionsnet/ipv6/ip6_tunnel.c
- net/ipv6/sit.c 1 addition, 13 deletionsnet/ipv6/sit.c
Loading
Please register or sign in to comment