[PATCH] linux/bpf.h: Remove repeated struct declaration

From: Wan Jiabing
Date: Thu Apr 01 2021 - 03:21:31 EST


struct btf_type is declared twice. One is declared at 35th line.
The blew one is not needed. Remove the duplicate.

Signed-off-by: Wan Jiabing <wanjiabing@xxxxxxxx>
---
include/linux/bpf.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/bpf.h b/include/linux/bpf.h
index 3625f019767d..2fd8e775a17e 100644
--- a/include/linux/bpf.h
+++ b/include/linux/bpf.h
@@ -903,7 +903,6 @@ struct bpf_link_primer {
};

struct bpf_struct_ops_value;
-struct btf_type;
struct btf_member;

#define BPF_STRUCT_OPS_MAX_NR_MEMBERS 64
--
2.25.1