From: H Hartley Sweeten Date: Wed, 12 Jun 2013 23:17:08 +0000 (-0700) Subject: staging: comedi: addi_apci_3xxx: remove 'i_IobaseReserved' from private data X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9cfd70de792133feb223f4a169ee8bbd13168bc3;p=linux-beck.git staging: comedi: addi_apci_3xxx: remove 'i_IobaseReserved' from private data This variable is not used by the driver. Remove it. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/addi_apci_3xxx.c b/drivers/staging/comedi/drivers/addi_apci_3xxx.c index f610ea62c9ca..39e7fb679ab8 100644 --- a/drivers/staging/comedi/drivers/addi_apci_3xxx.c +++ b/drivers/staging/comedi/drivers/addi_apci_3xxx.c @@ -368,7 +368,6 @@ static const struct apci3xxx_boardinfo apci3xxx_boardtypes[] = { 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]; @@ -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); - devpriv->i_IobaseReserved = pci_resource_start(pcidev, 3); if (pcidev->irq > 0) { ret = request_irq(pcidev->irq, apci3xxx_irq_handler,