summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2023-08-01 21:39:02 +0800
committerJakub Kicinski <kuba@kernel.org>2023-08-02 12:10:46 -0700
commit9e63a99c566faf2a4b8f6257ea7fea82106612cc (patch)
tree70d6160c134cd500051086572041d1d9977497e9 /include
parent497c3a5fb3ed4a59c4d3c460c70393dd609815dc (diff)
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@huawei.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Link: https://lore.kernel.org/r/20230801133902.3660-1-yuehaibing@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/udp.h1
1 files changed, 0 insertions, 1 deletions
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