From: H Hartley Sweeten Date: Tue, 11 Sep 2012 20:54:21 +0000 (-0700) Subject: staging: comedi: adl_pci9111: remove pci_dev_put() X-Git-Tag: next-20120912~22^2~3 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b67cd424600dd42527a3eeb21a148a10683d2491;p=karo-tx-linux.git staging: comedi: adl_pci9111: remove pci_dev_put() This driver no longer walks the pci bus to find the pci_dev. The pci_dev_put() is no longer needed. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/adl_pci9111.c b/drivers/staging/comedi/drivers/adl_pci9111.c index d2d072e5ca41..91efaa4caadb 100644 --- a/drivers/staging/comedi/drivers/adl_pci9111.c +++ b/drivers/staging/comedi/drivers/adl_pci9111.c @@ -970,7 +970,6 @@ static void pci9111_detach(struct comedi_device *dev) if (pcidev) { if (dev->iobase) comedi_pci_disable(pcidev); - pci_dev_put(pcidev); } }