summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-26 14:50:02 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-26 14:50:02 -0700
commitdb776a14f327c20d4984ac4b724a934df34bfe31 (patch)
treed791f0602130c377f47792c3f51bf782834f1366 /drivers
parentb35c67a46b025e8dc320b59fbe5c283094e1d7f5 (diff)
downloadop-kernel-dev-db776a14f327c20d4984ac4b724a934df34bfe31.zip
op-kernel-dev-db776a14f327c20d4984ac4b724a934df34bfe31.tar.gz
Fix compiler warning in qla_iocb.c
Remove bogus initialization that was re-done (correctly) later.
Diffstat (limited to 'drivers')
-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 5f34504..ebdc3c5 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. */
OpenPOWER on IntegriCloud