udp: remove inner_udp_hdr()
authorJakub Kicinski <kuba@kernel.org>
Wed, 26 Jan 2022 19:11:04 +0000 (11:11 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Jan 2022 13:53:27 +0000 (13:53 +0000)
Not used since added in v3.8.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/udp.h

index ae66dadd8543423e96ab8b7f7f4cc500153a6562..254a2654400f8adacbb20854c6bd0eeadff5ffba 100644 (file)
@@ -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)