Skip to contentSkip to conversation

bpf: Remove duplicate headers

PATCH Applied Chen Zhou 3 participants 3 messages Sep 8, 2020 – Sep 10, 2020

Subsystems (3)
lore
Share & tools
lore

Chen Zhou

author
#0 lore raw

PATCH 1/1 bpf: Remove duplicate headers

Remove duplicate headers which are included twice.

---
 net/core/bpf_sk_storage.c | 1 -
 1 file changed, 1 deletion(-)
net/core/bpf_sk_storage.c +0 -1
index a0d1a3265b71..4a86ea34f29e 100644
@@ -12,7 +12,6 @@
 #include <net/sock.h>
 #include <uapi/linux/sock_diag.h>
 #include <uapi/linux/btf.h>
-#include <linux/btf_ids.h>
 
 DEFINE_BPF_STORAGE_CACHE(sk_cache);
 
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Chen Zhou

Remove duplicate headers which are included twice.

---

Quoted 18 lines
 net/core/bpf_sk_storage.c | 1 -
 1 file changed, 1 deletion(-)
net/core/bpf_sk_storage.c +0 -2
index a0d1a3265b71..4a86ea34f29e 100644
@@ -12,7 +12,6 @@
 #include <net/sock.h>
 #include <uapi/linux/sock_diag.h>
 #include <uapi/linux/btf.h>
-#include <linux/btf_ids.h>
 
 DEFINE_BPF_STORAGE_CACHE(sk_cache);
 
--

2.17.1