projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2daae89
)
bpf: Remove repeated struct btf_type declaration
author
Wan Jiabing
<wanjiabing@vivo.com>
Thu, 1 Apr 2021 07:20:37 +0000
(15:20 +0800)
committer
Daniel Borkmann
<daniel@iogearbox.net>
Fri, 2 Apr 2021 23:45:36 +0000
(
01:45
+0200)
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
include/linux/bpf.h
patch
|
blob
|
history
diff --git
a/include/linux/bpf.h
b/include/linux/bpf.h
index
9fdd839
..
ff8cd68
100644
(file)
--- 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