public inbox for bpf@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next] udp: Remove unused function declaration udp_bpf_get_proto()
@ 2023-08-01 13:39 Yue Haibing
  2023-08-01 14:33 ` Willem de Bruijn
  2023-08-02 19:20 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Yue Haibing @ 2023-08-01 13:39 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni; +Cc: netdev, bpf, Yue Haibing

commit 8a59f9d1e3d4 ("sock: Introduce sk->sk_prot->psock_update_sk_prot()")
left behind this.

Signed-off-by: Yue Haibing <yuehaibing@huawei.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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-02 19:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-01 13:39 [PATCH net-next] udp: Remove unused function declaration udp_bpf_get_proto() Yue Haibing
2023-08-01 14:33 ` Willem de Bruijn
2023-08-02 19:20 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox