diff options
author | Wan Jiabing <wanjiabing@vivo.com> | 2021-04-01 15:20:37 +0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-04-03 01:45:36 +0200 |
commit | 6ac4c6f887f5a8efb6a6952798c09a2562022966 (patch) | |
tree | a761c71692e6ad6e2f893a49fc8b83a323725a0a /include/linux/bpf.h | |
parent | 2daae89666ad253281bb3d6a027c00a702c02eff (diff) | |
download | linux-stable-6ac4c6f887f5a8efb6a6952798c09a2562022966.tar.gz linux-stable-6ac4c6f887f5a8efb6a6952798c09a2562022966.tar.bz2 linux-stable-6ac4c6f887f5a8efb6a6952798c09a2562022966.zip |
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.h | 1 |
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 |