]> git.baikalelectronics.ru Git - kernel.git/commit
bpftool: Remove unused includes to <bpf/bpf_gen_internal.h>
authorQuentin Monnet <quentin@isovalent.com>
Thu, 7 Oct 2021 19:44:28 +0000 (20:44 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 8 Oct 2021 18:47:40 +0000 (11:47 -0700)
commit6798af08b7f4045fa0ead15d842162eb476de821
treea27da3f1afd44dbdad3c415c5759d2aac0456fdc
parentc77214ef2c1f12a464ba6674b431567cb50bad5a
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: 40466c286f96 ("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
tools/bpf/bpftool/gen.c
tools/bpf/bpftool/prog.c