Fix compiler warning in qla_iocb.c
[linux-2.6.git] / 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. */