aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorTobias Klauser <[email protected]>2024-11-17 22:20:27 +0100
committerJakub Kicinski <[email protected]>2024-11-18 19:32:27 -0800
commit2c862914fbcf85609147401ea8674ae9a9e3b8cc (patch)
tree2f0f0a9b9de5ac7a258a83aa3e4e5d4a9b538b06 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent85c7975acd970dac0fd7b0813763faade027c55e (diff)
wireguard: device: omit unnecessary memset of netdev private data
The memory for netdev_priv is allocated using kvzalloc in alloc_netdev_mqs before rtnl_link_ops->setup is called so there is no need to zero it again in wg_setup. Signed-off-by: Tobias Klauser <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions