aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXu Kuohai <[email protected]>2024-11-12 22:58:47 +0800
committerAlexei Starovoitov <[email protected]>2024-11-12 17:13:46 -0800
commitbd9d9b48eb1814ad761cce45774a18d95c33803c (patch)
tree93b91265f4dd4a5db4bc4ef796b77e367b0869d7
parentc1bc51f85cd6be28a4ec901b358731550a203bb2 (diff)
bpf: Remove unused member rcu from bpf_struct_ops_map
The rcu member in bpf_struct_ops_map is not used after commit b671c2067a04 ("bpf: Retire the struct_ops map kvalue->refcnt.") Remove it. Suggested-by: Martin KaFai Lau <[email protected]> Signed-off-by: Xu Kuohai <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
-rw-r--r--kernel/bpf/bpf_struct_ops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/bpf/bpf_struct_ops.c b/kernel/bpf/bpf_struct_ops.c
index fda3dd2ee984..40a93e690473 100644
--- a/kernel/bpf/bpf_struct_ops.c
+++ b/kernel/bpf/bpf_struct_ops.c
@@ -23,7 +23,6 @@ struct bpf_struct_ops_value {
struct bpf_struct_ops_map {
struct bpf_map map;
- struct rcu_head rcu;
const struct bpf_struct_ops_desc *st_ops_desc;
/* protect map_update */
struct mutex lock;