]> err.no Git - linux-2.6/commitdiff
[SCSI] qla2xxx: Error-out during probe() if we're unable to complete HBA initialization.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Mon, 7 May 2007 14:42:58 +0000 (07:42 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 8 May 2007 16:20:39 +0000 (11:20 -0500)
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>
drivers/scsi/qla2xxx/qla_os.c

index b78919a318e2b2ee87dc9170c676e2f64de2b6a1..0a36912abcd24beea5622ffe458a77bbbf930b90 100644 (file)
@@ -1577,9 +1577,7 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
                goto probe_failed;
        }
 
-       if (qla2x00_initialize_adapter(ha) &&
-           !(ha->device_flags & DFLG_NO_CABLE)) {
-
+       if (qla2x00_initialize_adapter(ha)) {
                qla_printk(KERN_WARNING, ha,
                    "Failed to initialize adapter\n");