summaryrefslogtreecommitdiff
path: root/include/linux/bpf.h
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2021-04-01 10:20:37 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2021-04-03 02:45:36 +0300
commit6ac4c6f887f5a8efb6a6952798c09a2562022966 (patch)
treea761c71692e6ad6e2f893a49fc8b83a323725a0a /include/linux/bpf.h
parent2daae89666ad253281bb3d6a027c00a702c02eff (diff)
downloadlinux-6ac4c6f887f5a8efb6a6952798c09a2562022966.tar.xz
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 <wanjiabing@vivo.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Song Liu <songliubraving@fb.com> Link: https://lore.kernel.org/bpf/20210401072037.995849-1-wanjiabing@vivo.com
Diffstat (limited to 'include/linux/bpf.h')
-rw-r--r--include/linux/bpf.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/bpf.h b/include/linux/bpf.h
index 9fdd839b418c..ff8cd68c01b3 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