summaryrefslogtreecommitdiffstats
path: root/src/drivers/infiniband
diff options
context:
space:
mode:
authorMichael Brown2011-04-08 01:50:49 +0200
committerMichael Brown2011-04-08 01:50:49 +0200
commit935df352e65dc2b74157ce290bbd89b4f4b4854f (patch)
tree7f5de3d3e406fa6283d42892baed42de92cda6a3 /src/drivers/infiniband
parent[efi] Add support for HII (diff)
downloadipxe-935df352e65dc2b74157ce290bbd89b4f4b4854f.tar.gz
ipxe-935df352e65dc2b74157ce290bbd89b4f4b4854f.tar.xz
ipxe-935df352e65dc2b74157ce290bbd89b4f4b4854f.zip
[hermon] Stop firmware only once on shutdown
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/infiniband')
-rw-r--r--src/drivers/infiniband/hermon.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/drivers/infiniband/hermon.c b/src/drivers/infiniband/hermon.c
index 561e65eb..7a487c91 100644
--- a/src/drivers/infiniband/hermon.c
+++ b/src/drivers/infiniband/hermon.c
@@ -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 );