From: Linus Torvalds Date: Tue, 26 Jul 2005 21:50:02 +0000 (-0700) Subject: Fix compiler warning in qla_iocb.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=db776a14f327c20d4984ac4b724a934df34bfe31;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 5f3450429cd0..ebdc3c54d155 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. */