From: Wan Jiabing Date: Thu, 1 Apr 2021 07:20:37 +0000 (+0800) Subject: bpf: Remove repeated struct btf_type declaration X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6ac4c6f887f5a8efb6a6952798c09a2562022966;p=linux.git 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: Wan Jiabing Signed-off-by: Daniel Borkmann Acked-by: Song Liu Link: https://lore.kernel.org/bpf/20210401072037.995849-1-wanjiabing@vivo.com --- diff --git a/include/linux/bpf.h b/include/linux/bpf.h index 9fdd839b418ca..ff8cd68c01b3f 100644 --- a/include/linux/bpf.h +++ b/include/linux/bpf.h @@ -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