Commit 9cfd70de authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: addi_apci_3xxx: remove 'i_IobaseReserved' from private data

This variable is not used by the driver. 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 088e2e05
...@@ -368,7 +368,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = { ...@@ -368,7 +368,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = {
struct apci3xxx_private { struct apci3xxx_private {
int iobase; int iobase;
int i_IobaseReserved;
void __iomem *dw_AiBase; void __iomem *dw_AiBase;
unsigned int ui_AiNbrofChannels; /* how many channels is measured */ unsigned int ui_AiNbrofChannels; /* how many channels is measured */
unsigned int ui_AiReadData[32]; unsigned int ui_AiReadData[32];
...@@ -613,7 +612,6 @@ static int apci3xxx_auto_attach(struct comedi_device *dev, ...@@ -613,7 +612,6 @@ static int apci3xxx_auto_attach(struct comedi_device *dev,
dev->iobase = pci_resource_start(pcidev, 2); dev->iobase = pci_resource_start(pcidev, 2);
devpriv->iobase = pci_resource_start(pcidev, 2); devpriv->iobase = pci_resource_start(pcidev, 2);
devpriv->dw_AiBase = pci_ioremap_bar(pcidev, 3); devpriv->dw_AiBase = pci_ioremap_bar(pcidev, 3);
devpriv->i_IobaseReserved = pci_resource_start(pcidev, 3);
if (pcidev->irq > 0) { if (pcidev->irq > 0) {
ret = request_irq(pcidev->irq, apci3xxx_irq_handler, ret = request_irq(pcidev->irq, apci3xxx_irq_handler,
......
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