diff mbox series

bpf: remove duplicate include

Message ID 1604736650-11197-1-git-send-email-wangqing@vivo.com
State Not Applicable
Delegated to: BPF Maintainers
Headers show
Series bpf: remove duplicate include | expand

Checks

Context Check Description
jkicinski/tree_selection success Not a local patch

Commit Message

王擎 Nov. 7, 2020, 8:10 a.m. UTC
Remove duplicate header which is included twice.

Signed-off-by: Wang Qing <wangqing@vivo.com>
---
 kernel/bpf/btf.c | 1 -
 1 file changed, 1 deletion(-)

Comments

John Fastabend Nov. 9, 2020, 9:13 p.m. UTC | #1
Wang Qing wrote:
> Remove duplicate header which is included twice.
> 
> Signed-off-by: Wang Qing <wangqing@vivo.com>
> ---
>  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.
diff mbox series

Patch

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