Skip to contentSkip to conversation

tcp: remove unnecessary include

PATCH Applied Alexei Starovoitov 2 participants 2 messages Oct 27, 2017 – Oct 28, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tcp: remove unnecessary include

two extra #include are not necessary in tcp.h
Remove them.

Fixes 40304b2a1567 ("bpf: BPF support for sock_ops")

---
noticed that changes to linux/bpf.h triggered bigger kernel rebuilds

---
 include/net/tcp.h | 3 ---
 1 file changed, 3 deletions(-)
include/net/tcp.h +0 -3
index 2392f74074e7..14a68d206dab 100644
@@ -45,9 +45,6 @@
 
 #include <linux/seq_file.h>
 #include <linux/memcontrol.h>
-
-#include <linux/bpf.h>
-#include <linux/filter.h>
 #include <linux/bpf-cgroup.h>
 
 extern struct inet_hashinfo tcp_hashinfo;
Signature · 1 line
2.9.5