[SCSI] qla2xxx: Removed redundant check for ISP 84xx.
Giridhar Malavali [Fri, 28 May 2010 22:08:29 +0000 (15:08 -0700)]
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

drivers/scsi/qla2xxx/qla_attr.c

index 2b499c7..fd6f7b1 100644 (file)
@@ -1208,7 +1208,7 @@ qla24xx_84xx_fw_version_show(struct device *dev,
        if (!IS_QLA84XX(ha))
                return snprintf(buf, PAGE_SIZE, "\n");
 
-       if (ha->cs84xx && ha->cs84xx->op_fw_version == 0)
+       if (ha->cs84xx->op_fw_version == 0)
                rval = qla84xx_verify_chip(vha, status);
 
        if ((rval == QLA_SUCCESS) && (status[0] == 0))