mirror of
https://github.com/ipxe/ipxe
synced 2025-12-14 16:01:38 +03:00
Added netdev_nullify to natsemi_remove()
This commit is contained in:
@@ -227,6 +227,7 @@ static void natsemi_remove (struct pci_device *pci) {
|
|||||||
|
|
||||||
unregister_netdev (netdev);
|
unregister_netdev (netdev);
|
||||||
natsemi_reset (netdev);
|
natsemi_reset (netdev);
|
||||||
|
netdev_nullify ( netdev );
|
||||||
netdev_put (netdev);
|
netdev_put (netdev);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user