mirror of
https://github.com/torvalds/linux.git
synced 2026-09-19 17:18:02 +02:00
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:
|
||
|---|---|---|
| .. | ||
| hibmcge | ||
| hns | ||
| hns3 | ||
| hip04_eth.c | ||
| hisi_femac.c | ||
| hix5hd2_gmac.c | ||
| hns_mdio.c | ||
| Kconfig | ||
| Makefile | ||