mirror of https://github.com/ipxe/ipxe.git
[hermon] Stop firmware only once on shutdown
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/5/head
parent
1c67e20261
commit
935df352e6
|
@ -3739,7 +3739,6 @@ static void hermon_remove ( struct pci_device *pci ) {
|
|||
hermon_cmd_close_hca ( hermon );
|
||||
hermon_free_icm ( hermon );
|
||||
hermon_stop_firmware ( hermon );
|
||||
hermon_stop_firmware ( hermon );
|
||||
for ( i = ( hermon->cap.num_ports - 1 ) ; i >= 0 ; i-- ) {
|
||||
netdev_nullify ( hermon->port[i].netdev );
|
||||
netdev_put ( hermon->port[i].netdev );
|
||||
|
|
Loading…
Reference in New Issue