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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -928,7 +928,6 @@ struct bpf_link_primer {
};

struct bpf_struct_ops_value;
struct btf_type;
struct btf_member;

#define BPF_STRUCT_OPS_MAX_NR_MEMBERS 64