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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
 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





[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux