Skip to contentSkip to conversation

cgroup, bpf: remove unnecessary #include

PATCH Applied Alexei Starovoitov 2 participants 2 messages Nov 30, 2016

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

PATCH 1/1 cgroup, bpf: remove unnecessary #include

this #include is unnecessary and brings whole set of other headers into cgroup-defs.h. Remove it.

Fixes 3007098494be ("cgroup: add support for eBPF programs")

---
Dave,
this patch got lost somehow (marked accepted, but not in net-next). Resending.

 include/linux/bpf-cgroup.h | 1 -
 1 file changed, 1 deletion(-)
include/linux/bpf-cgroup.h +0 -1
index ec80d0c0953e..0cf1adfadd2d 100644
@@ -1,7 +1,6 @@
 #ifndef _BPF_CGROUP_H
 #define _BPF_CGROUP_H
 
-#include <linux/bpf.h>
 #include <linux/jump_label.h>
 #include <uapi/linux/bpf.h>
 
Signature · 1 line
2.8.0
maintainer Applied
#1 lore raw

From: Alexei Starovoitov <[email protected]>
Date: Wed, 30 Nov 2016 10:16:08 -0800

Quoted 8 lines

this #include is unnecessary and brings whole set of other headers into cgroup-defs.h. Remove it.

Fixes 3007098494be ("cgroup: add support for eBPF programs")
Quoted 4 lines

---
Dave,
this patch got lost somehow (marked accepted, but not in net-next). Resending.

Applied, thanks ALexei.