From db776a14f327c20d4984ac4b724a934df34bfe31 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Tue, 26 Jul 2005 14:50:02 -0700 Subject: Fix compiler warning in qla_iocb.c Remove bogus initialization that was re-done (correctly) later. --- drivers/scsi/qla2xxx/qla_iocb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/scsi/qla2xxx') 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. */ -- cgit v1.2.1