diff options
| author | Jinjie Ruan <[email protected]> | 2024-10-30 01:21:47 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-11-01 02:36:25 +0000 |
| commit | bc74d329ceba23f998ead4f716266da5afe319f7 (patch) | |
| tree | 3bcc4eccadcffa72ab2219842b9add3481c60509 /drivers/net/dsa/dsa_loop.c | |
| parent | selftests/net: Fix ./ns-XXXXXX not cleanup (diff) | |
| download | kernel-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
