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 360974eb2b26..e9091f9fbf25 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -753,8 +753,6 @@ qla2xxx_eh_bus_reset(struct scsi_cmnd *cmd)
753 qla_printk(KERN_INFO, ha, 753 qla_printk(KERN_INFO, ha,
754 "scsi(%ld:%d:%d): LOOP RESET ISSUED.\n", ha->host_no, id, lun); 754 "scsi(%ld:%d:%d): LOOP RESET ISSUED.\n", ha->host_no, id, lun);
755 755
756 spin_unlock_irq(ha->host->host_lock);
757
758 if (qla2x00_wait_for_hba_online(ha) != QLA_SUCCESS) { 756 if (qla2x00_wait_for_hba_online(ha) != QLA_SUCCESS) {
759 DEBUG2(printk("%s failed:board disabled\n",__func__)); 757 DEBUG2(printk("%s failed:board disabled\n",__func__));
760 goto eh_bus_reset_done; 758 goto eh_bus_reset_done;
@@ -776,8 +774,6 @@ eh_bus_reset_done:
776 qla_printk(KERN_INFO, ha, "%s: reset %s\n", __func__, 774 qla_printk(KERN_INFO, ha, "%s: reset %s\n", __func__,
777 (ret == FAILED) ? "failed" : "succeded"); 775 (ret == FAILED) ? "failed" : "succeded");
778 776
779 spin_lock_irq(ha->host->host_lock);
780
781 return ret; 777 return ret;
782} 778}
783 779