[PATCH bpf-next 1/9] bpf: tcp: Remove inaccurate comment about extern

From
Thomas Weißschuh <linux@weissschuh.net>
Date
2024-11-27 19:20:48
Also in
bpf, lkml, netdev
Reply to
Thomas Weißschuh, 2024-11-27
The "extern" qualifier which the comment refers to was removed.
Also remove the comment.

Fixes: f6be98d19985 ("bpf, net: switch to dynamic registration")
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
 net/ipv4/bpf_tcp_ca.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/net/ipv4/bpf_tcp_ca.c b/net/ipv4/bpf_tcp_ca.c
index 554804774628e4b3d03bc3b19b96d717a581439e..ce5012f6821d543541b13275aff87bef0abf4677 100644
--- a/net/ipv4/bpf_tcp_ca.c
+++ b/net/ipv4/bpf_tcp_ca.c
@@ -11,7 +11,6 @@
 #include <net/tcp.h>
 #include <net/bpf_sk_storage.h>
 
-/* "extern" is to avoid sparse warning.  It is only used in bpf_struct_ops.c. */
 static struct bpf_struct_ops bpf_tcp_congestion_ops;
 
 static const struct btf_type *tcp_sock_type;
-- 
2.47.1
Thread (11 messages) 11 messages, 2 authors, last reply 2024-11-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help