Fix compiler warning in qla_iocb.c
authorLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Jul 2005 21:50:02 +0000 (14:50 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Jul 2005 21:50:02 +0000 (14:50 -0700)
Remove bogus initialization that was re-done (correctly) later.

drivers/scsi/qla2xxx/qla_iocb.c

index 5f3450429cd0591d353e473dc5b3ce217b3a63d6..ebdc3c54d155d0a35f6700f1b9e44651f0959015 100644 (file)
@@ -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. */