Skip to content

Commit 765140b

Browse files
avasquez01James Bottomley
authored andcommitted
[SCSI] qla2xxx: Error-out during probe() if we're unable to complete HBA initialization.
Remove a stale check against ha->device_flags (DFLG_NO_CABLE) as topology scanning is performed within the DPC-thread context. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
1 parent b03670e commit 765140b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/scsi/qla2xxx/qla_os.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1577,9 +1577,7 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
15771577
goto probe_failed;
15781578
}
15791579

1580-
if (qla2x00_initialize_adapter(ha) &&
1581-
!(ha->device_flags & DFLG_NO_CABLE)) {
1582-
1580+
if (qla2x00_initialize_adapter(ha)) {
15831581
qla_printk(KERN_WARNING, ha,
15841582
"Failed to initialize adapter\n");
15851583

0 commit comments

Comments
 (0)