bpf: Remove unused fields of struct bpf_map_owner
PATCH 1/1 bpf: Remove unused fields of struct bpf_map_owner
From: Alexei Starovoitov <[email protected]>
async_cb and has_prologue are for struct bpf_prog_aux. They were added to struct bpf_map_owner by mistake, nothing reads or writes them.
Signed-off-by Alexei Starovoitov <[email protected]>
--- include/linux/bpf.h | 2 -- 1 file changed, 2 deletions(-)
include/linux/bpf.h +0 -2
@@ -295,8 +295,6 @@ struct bpf_map_owner {enum bpf_prog_type type;bool jited;bool xdp_has_frags; -bool async_cb; -bool has_prologue;bool sleepable;u64 storage_cookie[MAX_BPF_CGROUP_STORAGE_TYPE ];const struct btf_type *attach_func_proto;
Signature · 1 line
2.55.0
This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <[email protected]>:
Hello:
This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <[email protected]>:
Quoted 8 lines · On Thu, 3 Dec 2026 01:48:49 +0000 you wrote:
From: Alexei Starovoitov <[email protected]>
async_cbandhas_prologueare for structbpf_prog_aux. They were added to structbpf_map_ownerby mistake, nothing reads or writes them.Signed-off-by Alexei Starovoitov <[email protected]>[...]
Here is the summary with links:
- [bpf-next] bpf: Remove unused fields of struct bpf_map_owner
https://git.kernel.org/bpf/bpf-next/c/2d3198c9a6a8
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html