RE: [PATCH] bpf: remove duplicate include

From: John Fastabend
Date: Mon Nov 09 2020 - 16:13:36 EST


Wang Qing wrote:
> Remove duplicate header which is included twice.
>
> Signed-off-by: Wang Qing <wangqing@xxxxxxxx>
> ---
> kernel/bpf/btf.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/kernel/bpf/btf.c b/kernel/bpf/btf.c
> index ed7d02e..6324de8
> --- a/kernel/bpf/btf.c
> +++ b/kernel/bpf/btf.c
> @@ -22,7 +22,6 @@
> #include <linux/skmsg.h>
> #include <linux/perf_event.h>
> #include <linux/bsearch.h>
> -#include <linux/btf_ids.h>
> #include <net/sock.h>
>
> /* BTF (BPF Type Format) is the meta data format which describes
> --
> 2.7.4
>

Looks fine to me. But, these types of things should go to bpf-next I
see no reason to push these into bpf tree.