tcp: remove unnecessary include
Subsystems (3)
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")
Signed-off-by Alexei Starovoitov <[email protected]>
---
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
@@ -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
From: Alexei Starovoitov <[email protected]>
Date: Fri, 27 Oct 2017 10:01:39 -0700
Quoted 5 lines
two extra #include are not necessary in
tcp.h
Remove them.Fixes 40304b2a1567 ("bpf: BPF support for sock_ops")Signed-off-by Alexei Starovoitov <[email protected]>
Applied, thank you.