2
0
mirror of https://github.com/xcat2/xNBA.git synced 2025-02-15 10:08:18 +00:00

[hermon] Stop firmware only once on shutdown

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2011-04-08 00:50:49 +01:00
parent 1c67e20261
commit 935df352e6

View File

@ -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 );