From: Jakub Kicinski Date: Wed, 26 Jan 2022 19:11:04 +0000 (-0800) Subject: udp: remove inner_udp_hdr() X-Git-Tag: v6.6.17~7931^2~513^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc81df835c25b108248bad24021a21e77cbb84ac;p=platform%2Fkernel%2Flinux-rpi.git udp: remove inner_udp_hdr() Not used since added in v3.8. Signed-off-by: Jakub Kicinski Acked-by: Willem de Bruijn Signed-off-by: David S. Miller --- diff --git a/include/linux/udp.h b/include/linux/udp.h index ae66dadd8543..254a2654400f 100644 --- a/include/linux/udp.h +++ b/include/linux/udp.h @@ -23,11 +23,6 @@ static inline struct udphdr *udp_hdr(const struct sk_buff *skb) return (struct udphdr *)skb_transport_header(skb); } -static inline struct udphdr *inner_udp_hdr(const struct sk_buff *skb) -{ - return (struct udphdr *)skb_inner_transport_header(skb); -} - #define UDP_HTABLE_SIZE_MIN (CONFIG_BASE_SMALL ? 128 : 256) static inline u32 udp_hashfn(const struct net *net, u32 num, u32 mask)