summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-26 23:50:02 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-26 23:50:02 +0200
commitdb776a14f327c20d4984ac4b724a934df34bfe31 (patch)
treed791f0602130c377f47792c3f51bf782834f1366 /drivers/scsi
parent[PATCH] acpi: Don't call acpi_sleep_prepare from acpi_power_off (diff)
downloadlinux-db776a14f327c20d4984ac4b724a934df34bfe31.tar.xz
linux-db776a14f327c20d4984ac4b724a934df34bfe31.zip
Fix compiler warning in qla_iocb.c
Remove bogus initialization that was re-done (correctly) later.
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla2xxx/qla_iocb.c2
1 files changed, 1 insertions, 1 deletions
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. */