aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorJinjie Ruan <[email protected]>2024-10-30 01:21:47 +0000
committerJakub Kicinski <[email protected]>2024-11-01 02:36:25 +0000
commitbc74d329ceba23f998ead4f716266da5afe319f7 (patch)
tree3bcc4eccadcffa72ab2219842b9add3481c60509 /drivers/net/dsa/dsa_loop.c
parentselftests/net: Fix ./ns-XXXXXX not cleanup (diff)
downloadkernel-bc74d329ceba23f998ead4f716266da5afe319f7.tar.gz
kernel-bc74d329ceba23f998ead4f716266da5afe319f7.zip
netlink: Remove the dead code in netlink_proto_init()
In the error path of netlink_proto_init(), frees the already allocated bucket table for new hash tables in a loop, but it is going to panic, so it is not necessary to clean up the resources, just remove the dead code. Suggested-by: Kuniyuki Iwashima <[email protected]> Signed-off-by: Jinjie Ruan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions