Thread (2 messages) 2 messages, 2 authors, 2021-03-26
STALE1939d LANDED

[PATCH] include: net: struct sock is declared twice

From: Wan Jiabing <hidden>
Date: 2021-03-25 07:07:00
Also in: bpf, lkml
Subsystem: networking [general], the rest · Maintainers: "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

struct sock has been declared. Remove the duplicate.

Signed-off-by: Wan Jiabing <redacted>
---
 include/net/bpf_sk_storage.h | 1 -
 1 file changed, 1 deletion(-)
diff --git a/include/net/bpf_sk_storage.h b/include/net/bpf_sk_storage.h
index 0e85713f56df..2926f1f00d65 100644
--- a/include/net/bpf_sk_storage.h
+++ b/include/net/bpf_sk_storage.h
@@ -27,7 +27,6 @@ struct bpf_local_storage_elem;
 struct bpf_sk_storage_diag;
 struct sk_buff;
 struct nlattr;
-struct sock;
 
 #ifdef CONFIG_BPF_SYSCALL
 int bpf_sk_storage_clone(const struct sock *sk, struct sock *newsk);
-- 
2.25.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help