aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorHou Tao <houtao1@huawei.com>2025-01-08 09:07:23 +0800
committerAlexei Starovoitov <ast@kernel.org>2025-01-08 18:06:36 -0800
commit1d2dbe7120e89090ed4f6be03d6fbadfbfff59bf (patch)
treeac65a76d06420be8daf9a6488e3a74103ceb26b1 /scripts/generate_rust_analyzer.py
parentbpf: Disable migration before calling ops->map_free() (diff)
downloadwireguard-linux-1d2dbe7120e89090ed4f6be03d6fbadfbfff59bf.tar.xz
wireguard-linux-1d2dbe7120e89090ed4f6be03d6fbadfbfff59bf.zip
bpf: Remove migrate_{disable|enable} in bpf_obj_free_fields()
The callers of bpf_obj_free_fields() have already guaranteed that the migration is disabled, therefore, there is no need to invoke migrate_{disable,enable} pair in bpf_obj_free_fields()'s underly implementation. This patch removes unnecessary migrate_{disable|enable} pairs from bpf_obj_free_fields() and its callees: bpf_list_head_free() and bpf_rb_root_free(). Signed-off-by: Hou Tao <houtao1@huawei.com> Link: https://lore.kernel.org/r/20250108010728.207536-12-houtao@huaweicloud.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions