diff options
| author | David S. Miller <davem@davemloft.net> | 2022-01-27 13:53:27 +0000 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2022-01-27 13:53:27 +0000 |
| commit | 2fbafb828ec716ef35e877b17a927f3af70c91c6 (patch) | |
| tree | ba1685f1164cc2cb4dc417a9649cd66d8e6eb728 /include/linux/udp.h | |
| parent | d9f393f468aa939b53cc81b43169953ce37d7cdb (diff) | |
| parent | 5e4eca5d929a168085140fe93b1e8cef841008d5 (diff) | |
Merge branch 'static-inlines'
Jakub Kicinski says:
====================
net: get rid of unused static inlines
I noticed a couple of unused static inline functions reviewing
net/sched patches so I run a grep thru all of include/ and net/
to catch other cases. This set removes the cases which look like
obvious dead code.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/udp.h')
| -rw-r--r-- | include/linux/udp.h | 5 |
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) |
