From aa6d4eb21586d8117b19187411f307d4599cc1d9 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Wed, 3 Dec 2014 11:25:37 -0700 Subject: [PATCH] staging: comedi: addi_apci_1500: remove private data 'i_IobaseReserved' This member of the private data is set but not used by the driver. Remove it. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/addi_apci_1500.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/addi_apci_1500.c b/drivers/staging/comedi/drivers/addi_apci_1500.c index d8a6170b2d76..4b2e3fb230df 100644 --- a/drivers/staging/comedi/drivers/addi_apci_1500.c +++ b/drivers/staging/comedi/drivers/addi_apci_1500.c @@ -18,7 +18,6 @@ struct apci1500_private { int i_IobaseAmcc; int i_IobaseAddon; - int i_IobaseReserved; unsigned char b_OutputMemoryStatus; struct task_struct *tsk_Current; }; @@ -44,7 +43,6 @@ static int apci1500_auto_attach(struct comedi_device *dev, dev->iobase = pci_resource_start(pcidev, 1); 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, apci1500_interrupt, IRQF_SHARED, -- 2.20.1