[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220126191109.2822706-11-kuba@kernel.org>
Date: Wed, 26 Jan 2022 11:11:04 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>,
pabeni@...hat.com, willemb@...gle.com
Subject: [PATCH net-next 10/15] udp: remove inner_udp_hdr()
Not used since added in v3.8.
Signed-off-by: Jakub Kicinski <kuba@...nel.org>
---
CC: pabeni@...hat.com
CC: willemb@...gle.com
---
include/linux/udp.h | 5 -----
1 file changed, 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)
--
2.34.1
Powered by blists - more mailing lists