Skip to content

Commit 9e63a99

Browse files
Yue Haibingkuba-moo
authored andcommitted
udp: Remove unused function declaration udp_bpf_get_proto()
commit 8a59f9d ("sock: Introduce sk->sk_prot->psock_update_sk_prot()") left behind this. Signed-off-by: Yue Haibing <[email protected]> Reviewed-by: Willem de Bruijn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 497c3a5 commit 9e63a99

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/net/udp.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,6 @@ static inline void udp_post_segment_fix_csum(struct sk_buff *skb)
529529

530530
#ifdef CONFIG_BPF_SYSCALL
531531
struct sk_psock;
532-
struct proto *udp_bpf_get_proto(struct sock *sk, struct sk_psock *psock);
533532
int udp_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore);
534533
#endif
535534

0 commit comments

Comments
 (0)