diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-01-31 12:15:35 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-03 20:11:43 -0800 |
commit | 303a339f30a9441c4695d3d2cc78f1b33cd959ff (patch) | |
tree | fdbc053f21873758d4d106d73fab63b783ac8948 | |
parent | ee825e8bc74fa8fe6d62334f14363e71e0504a9d (diff) | |
download | linux-303a339f30a9441c4695d3d2cc78f1b33cd959ff.tar.gz linux-303a339f30a9441c4695d3d2cc78f1b33cd959ff.tar.bz2 linux-303a339f30a9441c4695d3d2cc78f1b33cd959ff.zip |
bpfilter: remove extra header search paths for bpfilter_umh
Currently, the header search paths -Itools/include and
-Itools/include/uapi are not used. Let's drop the unused code.
We can remove -I. too by fixing up one C file.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/bpfilter/Makefile | 1 | ||||
-rw-r--r-- | net/bpfilter/main.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/net/bpfilter/Makefile b/net/bpfilter/Makefile index 0947ee7f70d5..5d6c7760142d 100644 --- a/net/bpfilter/Makefile +++ b/net/bpfilter/Makefile @@ -5,7 +5,6 @@ hostprogs-y := bpfilter_umh bpfilter_umh-objs := main.o -KBUILD_HOSTCFLAGS += -I. -Itools/include/ -Itools/include/uapi HOSTCC := $(CC) ifeq ($(CONFIG_BPFILTER_UMH), y) diff --git a/net/bpfilter/main.c b/net/bpfilter/main.c index 1317f108df8a..61ce8454a88e 100644 --- a/net/bpfilter/main.c +++ b/net/bpfilter/main.c @@ -6,7 +6,7 @@ #include <sys/socket.h> #include <fcntl.h> #include <unistd.h> -#include "include/uapi/linux/bpf.h" +#include "../../include/uapi/linux/bpf.h" #include <asm/unistd.h> #include "msgfmt.h" |