summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiawen Liu <1298662399@qq.com>2026-07-28 12:17:10 +0400
committerJakub Kicinski <kuba@kernel.org>2026-07-31 18:17:31 -0700
commitf307a7dc32097c11413178fca437a10d20890bc2 (patch)
tree2f02a64fe20423a828701cd2ac554620106fc196 /tools/perf/scripts/python
parent47d7f7051253bdc02b1d245d87e38f16d31a74df (diff)
net: hisilicon: hix5hd2_gmac: remove redundant NAPI delete
hix5hd2_dev_remove() calls netif_napi_del() before unregister_netdev(). This is not needed because free_netdev() deletes all NAPI instances attached to the net_device. Remove the redundant call and let the networking core tear down the NAPI instance during unregister_netdev(). The probe error path still keeps its explicit netif_napi_del(), because the device has not been registered there. Fixes: 57c5bc9ad7d7 ("net: hisilicon: add hix5hd2 mac driver") Signed-off-by: Jiawen Liu <1298662399@qq.com> Link: https://patch.msgid.link/tencent_5FFD37A252B4FEA6A80AD25B17C8E904F005@qq.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions