diff options
author | Quentin Monnet <quentin@isovalent.com> | 2021-10-07 20:44:28 +0100 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-10-08 11:47:40 -0700 |
commit | c66a248f1950d41502fb67624147281d9de0e868 (patch) | |
tree | a27da3f1afd44dbdad3c415c5759d2aac0456fdc /tools/bpf/bpftool/prog.c | |
parent | b79c2ce3baa99beea7f8410ce3154cc23e26dbd8 (diff) | |
download | linux-c66a248f1950d41502fb67624147281d9de0e868.tar.gz linux-c66a248f1950d41502fb67624147281d9de0e868.tar.bz2 linux-c66a248f1950d41502fb67624147281d9de0e868.zip |
bpftool: Remove unused includes to <bpf/bpf_gen_internal.h>
It seems that the header file was never necessary to compile bpftool,
and it is not part of the headers exported from libbpf. Let's remove the
includes from prog.c and gen.c.
Fixes: d510296d331a ("bpftool: Use syscall/loader program in "prog load" and "gen skeleton" command.")
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211007194438.34443-3-quentin@isovalent.com
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
-rw-r--r-- | tools/bpf/bpftool/prog.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/bpf/bpftool/prog.c b/tools/bpf/bpftool/prog.c index a24ea7e26aa4..277d51c4c5d9 100644 --- a/tools/bpf/bpftool/prog.c +++ b/tools/bpf/bpftool/prog.c @@ -25,7 +25,6 @@ #include <bpf/bpf.h> #include <bpf/btf.h> #include <bpf/libbpf.h> -#include <bpf/bpf_gen_internal.h> #include <bpf/skel_internal.h> #include "cfg.h" |