]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: comedi: addi_apci_3xxx: remove 'i_IobaseReserved' from private data
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 12 Jun 2013 23:17:08 +0000 (16:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jun 2013 21:33:43 +0000 (14:33 -0700)
This variable is not used by the driver. 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/addi_apci_3xxx.c

index f610ea62c9ca978297fb8102c15ad6d3d153aeb8..39e7fb679ab85892917be72bdb3d0ab05d419f4f 100644 (file)
@@ -368,7 +368,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
 
 struct apci3xxx_private {
        int iobase;
 
 struct apci3xxx_private {
        int iobase;
-       int i_IobaseReserved;
        void __iomem *dw_AiBase;
        unsigned int ui_AiNbrofChannels;        /*  how many channels is measured */
        unsigned int ui_AiReadData[32];
        void __iomem *dw_AiBase;
        unsigned int ui_AiNbrofChannels;        /*  how many channels is measured */
        unsigned int ui_AiReadData[32];
@@ -613,7 +612,6 @@ static int apci3xxx_auto_attach(struct comedi_device *dev,
        dev->iobase = pci_resource_start(pcidev, 2);
        devpriv->iobase = pci_resource_start(pcidev, 2);
        devpriv->dw_AiBase = pci_ioremap_bar(pcidev, 3);
        dev->iobase = pci_resource_start(pcidev, 2);
        devpriv->iobase = pci_resource_start(pcidev, 2);
        devpriv->dw_AiBase = pci_ioremap_bar(pcidev, 3);
-       devpriv->i_IobaseReserved = pci_resource_start(pcidev, 3);
 
        if (pcidev->irq > 0) {
                ret = request_irq(pcidev->irq, apci3xxx_irq_handler,
 
        if (pcidev->irq > 0) {
                ret = request_irq(pcidev->irq, apci3xxx_irq_handler,