aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWan Jiabing <[email protected]>2021-04-01 15:20:37 +0800
committerDaniel Borkmann <[email protected]>2021-04-03 01:45:36 +0200
commit6ac4c6f887f5a8efb6a6952798c09a2562022966 (patch)
treea761c71692e6ad6e2f893a49fc8b83a323725a0a
parent2daae89666ad253281bb3d6a027c00a702c02eff (diff)
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 <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
-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