Browse Source

tcp: remove unnecessary include

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

Fixes: 40304b2a1567 ("bpf: BPF support for sock_ops")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Alexei Starovoitov 7 năm trước cách đây
mục cha
commit
5b52a4c3ac
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      include/net/tcp.h

+ 0 - 3
include/net/tcp.h

@@ -45,9 +45,6 @@
 
 
 #include <linux/seq_file.h>
 #include <linux/seq_file.h>
 #include <linux/memcontrol.h>
 #include <linux/memcontrol.h>
-
-#include <linux/bpf.h>
-#include <linux/filter.h>
 #include <linux/bpf-cgroup.h>
 #include <linux/bpf-cgroup.h>
 
 
 extern struct inet_hashinfo tcp_hashinfo;
 extern struct inet_hashinfo tcp_hashinfo;