Skip to content

Commit bd9d9b4

Browse files
Xu KuohaiAlexei Starovoitov
authored andcommitted
bpf: Remove unused member rcu from bpf_struct_ops_map
The rcu member in bpf_struct_ops_map is not used after commit b671c20 ("bpf: Retire the struct_ops map kvalue->refcnt.") Remove it. Suggested-by: Martin KaFai Lau <martin.lau@linux.dev> Signed-off-by: Xu Kuohai <xukuohai@huawei.com> Link: https://lore.kernel.org/r/20241112145849.3436772-2-xukuohai@huaweicloud.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
1 parent c1bc51f commit bd9d9b4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

kernel/bpf/bpf_struct_ops.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ struct bpf_struct_ops_value {
2323

2424
struct bpf_struct_ops_map {
2525
struct bpf_map map;
26-
struct rcu_head rcu;
2726
const struct bpf_struct_ops_desc *st_ops_desc;
2827
/* protect map_update */
2928
struct mutex lock;

0 commit comments

Comments
 (0)