diff --git a/drivers/staging/comedi/drivers/acl7225b.c b/drivers/staging/comedi/drivers/acl7225b.c index 8d9e1aec985a6808fb613b50e5737d55e2e9802f..adbe580fa1f6a36809d2437c6abcc37daf4cdc1c 100644 --- a/drivers/staging/comedi/drivers/acl7225b.c +++ b/drivers/staging/comedi/drivers/acl7225b.c @@ -69,12 +69,11 @@ static int acl7225b_attach(struct comedi_device *dev, { const struct acl7225b_boardinfo *board = comedi_board(dev); struct comedi_subdevice *s; - int iobase, iorange; + int iobase; int ret; iobase = it->options[0]; - iorange = board->io_range; - if (!request_region(iobase, iorange, dev->board_name)) + if (!request_region(iobase, board->io_range, dev->board_name)) return -EIO; dev->iobase = iobase; dev->irq = 0;