Skip to content
Commit ea41b880 authored by Nikolay Aleksandrov's avatar Nikolay Aleksandrov Committed by Daniel Borkmann
Browse files

netkit: Remove explicit active/peer ptr initialization



Remove the explicit NULLing of active/peer pointers and rely on the
implicit one done at net device allocation.

Suggested-by: default avatarJiri Pirko <jiri@resnulli.us>
Signed-off-by: default avatarNikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Reviewed-by: default avatarJiri Pirko <jiri@nvidia.com>
Acked-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20231026094106.1505892-2-razor@blackwall.org
parent 399f6185
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment