aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_os.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index e9091f9fbf25..f12a2b6fa7a0 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -815,8 +815,6 @@ qla2xxx_eh_host_reset(struct scsi_cmnd *cmd)
815 qla_printk(KERN_INFO, ha, 815 qla_printk(KERN_INFO, ha,
816 "scsi(%ld:%d:%d): ADAPTER RESET ISSUED.\n", ha->host_no, id, lun); 816 "scsi(%ld:%d:%d): ADAPTER RESET ISSUED.\n", ha->host_no, id, lun);
817 817
818 spin_unlock_irq(ha->host->host_lock);
819
820 if (qla2x00_wait_for_hba_online(ha) != QLA_SUCCESS) 818 if (qla2x00_wait_for_hba_online(ha) != QLA_SUCCESS)
821 goto eh_host_reset_lock; 819 goto eh_host_reset_lock;
822 820
@@ -845,8 +843,6 @@ qla2xxx_eh_host_reset(struct scsi_cmnd *cmd)
845 ret = SUCCESS; 843 ret = SUCCESS;
846 844
847eh_host_reset_lock: 845eh_host_reset_lock:
848 spin_lock_irq(ha->host->host_lock);
849
850 qla_printk(KERN_INFO, ha, "%s: reset %s\n", __func__, 846 qla_printk(KERN_INFO, ha, "%s: reset %s\n", __func__,
851 (ret == FAILED) ? "failed" : "succeded"); 847 (ret == FAILED) ? "failed" : "succeded");
852 848