diff options
| author | Tobias Klauser <[email protected]> | 2024-11-17 21:20:27 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-11-19 03:32:27 +0000 |
| commit | 2c862914fbcf85609147401ea8674ae9a9e3b8cc (patch) | |
| tree | 2f0f0a9b9de5ac7a258a83aa3e4e5d4a9b538b06 /tools/testing/selftests/drivers/net/hw/lib/py | |
| parent | net: ip: fix unexpected return in fib_validate_source() (diff) | |
| download | kernel-2c862914fbcf85609147401ea8674ae9a9e3b8cc.tar.gz kernel-2c862914fbcf85609147401ea8674ae9a9e3b8cc.zip | |
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/drivers/net/hw/lib/py')
0 files changed, 0 insertions, 0 deletions
