From: Linus Torvalds Date: Tue, 26 Jul 2005 21:50:02 +0000 (-0700) Subject: Fix compiler warning in qla_iocb.c X-Git-Tag: v2.6.13-rc4~40 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db776a14f327c20d4984ac4b724a934df34bfe31;p=linux-2.6 Fix compiler warning in qla_iocb.c Remove bogus initialization that was re-done (correctly) later. --- diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c index 5f3450429c..ebdc3c54d1 100644 --- a/drivers/scsi/qla2xxx/qla_iocb.c +++ b/drivers/scsi/qla2xxx/qla_iocb.c @@ -748,7 +748,7 @@ qla24xx_start_scsi(srb_t *sp) uint16_t cnt; uint16_t req_cnt; uint16_t tot_dsds; - struct device_reg_24xx __iomem *reg = &ha->iobase->isp24; + struct device_reg_24xx __iomem *reg; char tag[2]; /* Setup device pointers. */