[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230801133902.3660-1-yuehaibing@huawei.com>
Date: Tue, 1 Aug 2023 21:39:02 +0800
From: Yue Haibing <yuehaibing@...wei.com>
To: <davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>
CC: <netdev@...r.kernel.org>, <bpf@...r.kernel.org>, Yue Haibing
<yuehaibing@...wei.com>
Subject: [PATCH net-next] udp: Remove unused function declaration udp_bpf_get_proto()
commit 8a59f9d1e3d4 ("sock: Introduce sk->sk_prot->psock_update_sk_prot()")
left behind this.
Signed-off-by: Yue Haibing <yuehaibing@...wei.com>
---
include/net/udp.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/net/udp.h b/include/net/udp.h
index 4d13424f8f72..5a8421cd9083 100644
--- a/include/net/udp.h
+++ b/include/net/udp.h
@@ -529,7 +529,6 @@ static inline void udp_post_segment_fix_csum(struct sk_buff *skb)
#ifdef CONFIG_BPF_SYSCALL
struct sk_psock;
-struct proto *udp_bpf_get_proto(struct sock *sk, struct sk_psock *psock);
int udp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
#endif
--
2.34.1
Powered by blists - more mailing lists