[SCSI] qla4xxx: remove "ha->retry_reset_ha_cnt" from wait_for_hba_online
[deliverable/linux.git] / drivers / scsi / qla4xxx / ql4_os.c
index 6e59b59602a1698091368e7c927875690ca3b2de..56962e52f112b115b853c582810f48ac38c6e91e 100644 (file)
@@ -1966,8 +1966,6 @@ static int qla4xxx_wait_for_hba_online(struct scsi_qla_host *ha)
 
                if (adapter_up(ha))
                        return QLA_SUCCESS;
-               else if (ha->retry_reset_ha_cnt == 0)
-                       return QLA_ERROR;
 
                msleep(2000);
        }
This page took 0.02468 seconds and 5 git commands to generate.