summaryrefslogtreecommitdiff
path: root/include/linux/udp.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-01-26 22:11:04 +0300
committerDavid S. Miller <davem@davemloft.net>2022-01-27 16:53:27 +0300
commitcc81df835c25b108248bad24021a21e77cbb84ac (patch)
tree108efe1cd70c565c0ff745b972bd56ee7f940a14 /include/linux/udp.h
parent1303f8f0df242ce8869375d82341f4302fe859be (diff)
downloadlinux-cc81df835c25b108248bad24021a21e77cbb84ac.tar.xz
udp: remove inner_udp_hdr()
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>
Diffstat (limited to 'include/linux/udp.h')
-rw-r--r--include/linux/udp.h5
1 files changed, 0 insertions, 5 deletions
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)