summaryrefslogtreecommitdiff
path: root/include/linux/start_kernel.h
diff options
context:
space:
mode:
authorYuntao Wang <ytcoode@gmail.com>2022-03-23 10:36:26 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2022-04-01 23:44:44 +0300
commit8eb943fc5e5fa62751248302fe8f6c9856d81c09 (patch)
tree0ac38afb203abfa570d4d3dc2dfbdd3478e48e5c /include/linux/start_kernel.h
parentfe4625d8b0536c0098845065a6bb3fdeaa6ad940 (diff)
downloadlinux-8eb943fc5e5fa62751248302fe8f6c9856d81c09.tar.xz
bpf: Remove redundant assignment to smap->map.value_size
The attr->value_size is already assigned to smap->map.value_size in bpf_map_init_from_attr(), there is no need to do it again in stack_map_alloc(). Signed-off-by: Yuntao Wang <ytcoode@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Joanne Koong <joannelkoong@gmail.com> Link: https://lore.kernel.org/bpf/20220323073626.958652-1-ytcoode@gmail.com
Diffstat (limited to 'include/linux/start_kernel.h')
0 files changed, 0 insertions, 0 deletions