summaryrefslogtreecommitdiffstats
path: root/samples/bpf
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2016-12-28 14:47:13 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-12-28 14:47:13 +0100
commitb6f4c66704b875aba9b8c912532323e3cc89824c (patch)
tree492ece1db5a0ed7a3c1c6333135e2e57c2292b5b /samples/bpf
parentsamples/bpf sock_example: Avoid getting ethhdr from two includes (diff)
downloadlinux-b6f4c66704b875aba9b8c912532323e3cc89824c.tar.xz
linux-b6f4c66704b875aba9b8c912532323e3cc89824c.zip
samples/bpf trace_output_user: Remove duplicate sys/ioctl.h include
Cc: Alexei Starovoitov <ast@fb.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Joe Stringer <joe@ovn.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-3awp0nv8tpnblatojmwjww7z@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'samples/bpf')
-rw-r--r--samples/bpf/trace_output_user.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/samples/bpf/trace_output_user.c b/samples/bpf/trace_output_user.c
index f4fa6af22def..ccca1e348017 100644
--- a/samples/bpf/trace_output_user.c
+++ b/samples/bpf/trace_output_user.c
@@ -9,7 +9,6 @@
#include <string.h>
#include <fcntl.h>
#include <poll.h>
-#include <sys/ioctl.h>
#include <linux/perf_event.h>
#include <linux/bpf.h>
#include <errno.h>