From: H Hartley Sweeten Date: Mon, 20 Oct 2014 18:34:12 +0000 (-0700) Subject: staging: comedi: addi_apci_3120: remove private data 'i_IobaseReserved' X-Git-Tag: firefly_0821_release~176^2~2665^2~814 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=82263947b1023bdb9cec39c0f8deb0c447433014;p=firefly-linux-kernel-4.4.55.git staging: comedi: addi_apci_3120: remove private data 'i_IobaseReserved' This member of the private data 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_3120.c b/drivers/staging/comedi/drivers/addi_apci_3120.c index 774ba7abc95d..5a5392fe0bac 100644 --- a/drivers/staging/comedi/drivers/addi_apci_3120.c +++ b/drivers/staging/comedi/drivers/addi_apci_3120.c @@ -40,7 +40,6 @@ struct apci3120_private { int iobase; int i_IobaseAmcc; int i_IobaseAddon; - int i_IobaseReserved; unsigned int ui_AiActualScan; unsigned int ui_AiNbrofChannels; unsigned int ui_AiChannelList[32]; @@ -140,7 +139,6 @@ static int apci3120_auto_attach(struct comedi_device *dev, devpriv->iobase = dev->iobase; devpriv->i_IobaseAmcc = pci_resource_start(pcidev, 0); devpriv->i_IobaseAddon = pci_resource_start(pcidev, 2); - devpriv->i_IobaseReserved = pci_resource_start(pcidev, 3); if (pcidev->irq > 0) { ret = request_irq(pcidev->irq, apci3120_interrupt, IRQF_SHARED,