summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-12-09 22:31:02 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-17 18:02:13 (GMT)
commit62957c98679e3eef7a9e052c75b2ee891e419125 (patch)
treed010d061ce21ee022b8fe5e7a7ec3d2524d704e3 /drivers
parent0398606c1863f8a91b6a75d33a2d5a6131250be7 (diff)
downloadlinux-62957c98679e3eef7a9e052c75b2ee891e419125.tar.xz
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: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/comedi/drivers/pcmmio.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/comedi/drivers/pcmmio.c b/drivers/staging/comedi/drivers/pcmmio.c
index da9209b..7e1117f 100644
--- a/drivers/staging/comedi/drivers/pcmmio.c
+++ b/drivers/staging/comedi/drivers/pcmmio.c
@@ -205,11 +205,6 @@ static const struct comedi_lrange pcmmio_ao_ranges = {
struct pcmmio_subdev_private {
union {
- /* for DIO: mapping of halfwords (bytes)
- in port/chanarray to iobase */
- unsigned long iobases[PORTS_PER_SUBDEV];
- };
- union {
struct {
/* The below is only used for intr subdevices */
@@ -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