mirror of https://github.com/ipxe/ipxe.git
free_netdev -> netdev_put
parent
623d10c66f
commit
0c324caecf
|
@ -614,7 +614,7 @@ static int nat_probe ( struct pci_device *pci,
|
||||||
if ( registered_netdev )
|
if ( registered_netdev )
|
||||||
unregister_netdev ( netdev );
|
unregister_netdev ( netdev );
|
||||||
/* Free net device */
|
/* Free net device */
|
||||||
free_netdev ( netdev );
|
netdev_put ( netdev );
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -632,7 +632,7 @@ static void nat_remove ( struct pci_device *pci ) {
|
||||||
*/
|
*/
|
||||||
unregister_netdev ( netdev );
|
unregister_netdev ( netdev );
|
||||||
nat_reset ( nat );
|
nat_reset ( nat );
|
||||||
free_netdev ( netdev );
|
netdev_put ( netdev );
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct pci_device_id natsemi_nics[] = {
|
static struct pci_device_id natsemi_nics[] = {
|
||||||
|
|
Loading…
Reference in New Issue