staging: comedi: pcmmio: remove 'iobases' from the subdevice private data
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 9 Dec 2013 22:31:02 +0000 (15:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2013 18:02:13 +0000 (10:02 -0800)
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>
drivers/staging/comedi/drivers/pcmmio.c

index da9209b2006c5f210818ea98086892b5d12f50ff..7e1117fe4360911ee29bc6193247cc8a7ba2b583 100644 (file)
@@ -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
This page took 0.02548 seconds and 5 git commands to generate.