From: Giridhar Malavali Date: Fri, 28 May 2010 22:08:29 +0000 (-0700) Subject: [SCSI] qla2xxx: Removed redundant check for ISP 84xx. X-Git-Tag: v2.6.36-rc1~570^2~234 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6c7ccf7bb96a0ae16d2bcc6155e1d1fc3e728b39;p=karo-tx-linux.git [SCSI] qla2xxx: Removed redundant check for ISP 84xx. Signed-off-by: Giridhar Malavali Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index 2b499c7601ec..fd6f7b100547 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c @@ -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))