Commit 6ac4c6f8 authored by Wan Jiabing's avatar Wan Jiabing Committed by Daniel Borkmann

bpf: Remove repeated struct btf_type declaration

struct btf_type is declared twice. One is declared at 35th line. The below
one is not needed, hence remove the duplicate.
Signed-off-by: default avatarWan Jiabing <wanjiabing@vivo.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarSong Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20210401072037.995849-1-wanjiabing@vivo.com
parent 2daae896
...@@ -928,7 +928,6 @@ struct bpf_link_primer { ...@@ -928,7 +928,6 @@ struct bpf_link_primer {
}; };
struct bpf_struct_ops_value; struct bpf_struct_ops_value;
struct btf_type;
struct btf_member; struct btf_member;
#define BPF_STRUCT_OPS_MAX_NR_MEMBERS 64 #define BPF_STRUCT_OPS_MAX_NR_MEMBERS 64
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment