Commit 62957c98 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: pcmmio: remove 'iobases' from the subdevice private data

This member of the subdevice private data is not longer used. Remove it.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0398606c
......@@ -204,11 +204,6 @@ static const struct comedi_lrange pcmmio_ao_ranges = {
/* this structure is for data unique to this subdevice. */
struct pcmmio_subdev_private {
union {
/* for DIO: mapping of halfwords (bytes)
in port/chanarray to iobase */
unsigned long iobases[PORTS_PER_SUBDEV];
};
union {
struct {
......@@ -1027,8 +1022,6 @@ static int pcmmio_attach(struct comedi_device *dev, struct comedi_devconfig *it)
++asic;
thisasic_chanct = 0;
}
subpriv->iobases[byte_no] = dev->iobase +
PCMMIO_PORT_REG(port);
if (thisasic_chanct <
CHANS_PER_PORT * INTR_PORTS_PER_ASIC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment