瀏覽代碼

[hermon] Stop firmware only once on shutdown

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 年之前
父節點
當前提交
935df352e6
共有 1 個檔案被更改,包括 0 行新增1 行删除
  1. 0
    1
      src/drivers/infiniband/hermon.c

+ 0
- 1
src/drivers/infiniband/hermon.c 查看文件

@@ -3739,7 +3739,6 @@ static void hermon_remove ( struct pci_device *pci ) {
3739 3739
 	hermon_cmd_close_hca ( hermon );
3740 3740
 	hermon_free_icm ( hermon );
3741 3741
 	hermon_stop_firmware ( hermon );
3742
-	hermon_stop_firmware ( hermon );
3743 3742
 	for ( i = ( hermon->cap.num_ports - 1 ) ; i >= 0 ; i-- ) {
3744 3743
 		netdev_nullify ( hermon->port[i].netdev );
3745 3744
 		netdev_put ( hermon->port[i].netdev );

Loading…
取消
儲存