aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/infiniband/hermon.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2011-04-08 00:50:49 +0100
committerMichael Brown <mcb30@ipxe.org>2011-04-08 00:50:49 +0100
commit935df352e65dc2b74157ce290bbd89b4f4b4854f (patch)
tree7f5de3d3e406fa6283d42892baed42de92cda6a3 /src/drivers/infiniband/hermon.c
parent1c67e2026150fde7895b18238bd502430b1277f9 (diff)
downloadipxe-935df352e65dc2b74157ce290bbd89b4f4b4854f.tar.gz
[hermon] Stop firmware only once on shutdown
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/infiniband/hermon.c')
-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 561e65ebc..7a487c91c 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 );