diff mbox series

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

Message ID 20241127-bpf-const-ops-v1-1-a698b8d58680@weissschuh.net (mailing list archive)
State New
Headers show
Series bpf: Constify BPF ops | expand

Commit Message

Thomas Weißschuh Nov. 27, 2024, 7:15 p.m. UTC
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 mbox series

Patch

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;