aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/bnx2fc/bnx2fc_fcoe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
index e2e647509a7..b936aee86db 100644
--- a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
+++ b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
@@ -1352,8 +1352,6 @@ static void bnx2fc_if_destroy(struct fc_lport *lport)
1352 /* Free existing transmit skbs */ 1352 /* Free existing transmit skbs */
1353 fcoe_clean_pending_queue(lport); 1353 fcoe_clean_pending_queue(lport);
1354 1354
1355 bnx2fc_interface_put(hba);
1356
1357 /* Free queued packets for the receive thread */ 1355 /* Free queued packets for the receive thread */
1358 bnx2fc_clean_rx_queue(lport); 1356 bnx2fc_clean_rx_queue(lport);
1359 1357
@@ -1372,6 +1370,8 @@ static void bnx2fc_if_destroy(struct fc_lport *lport)
1372 1370
1373 /* Release Scsi_Host */ 1371 /* Release Scsi_Host */
1374 scsi_host_put(lport->host); 1372 scsi_host_put(lport->host);
1373
1374 bnx2fc_interface_put(hba);
1375} 1375}
1376 1376
1377/** 1377/**