From: Greg Kroah-Hartman Date: Wed, 19 Nov 2008 21:59:44 +0000 (-0800) Subject: Staging: comedi: comedi_pci.h: remove comedi_pci_enable_no_regions X-Git-Tag: v2.6.29-rc1~228^2~50 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7b1f281350ca1ba1f740ced203136d27390b22c1;p=linux-2.6-omap-h63xx.git Staging: comedi: comedi_pci.h: remove comedi_pci_enable_no_regions comedi_pci_enable_no_regions is not called by any comedi code (in or out of the kernel tree), so remove it, so no one tries to use it in the future. Cc: David Schleef Cc: Frank Mori Hess Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/comedi_pci.h b/drivers/staging/comedi/drivers/comedi_pci.h index 5475941dadc..09c9a443536 100644 --- a/drivers/staging/comedi/drivers/comedi_pci.h +++ b/drivers/staging/comedi/drivers/comedi_pci.h @@ -28,15 +28,6 @@ #include -/* - * Enables PCI device without requesting regions. Just a simple wrapper - * for pci_enable_device(). - */ -static inline int comedi_pci_enable_no_regions(struct pci_dev *pdev) -{ - return pci_enable_device(pdev); -} - /* * Called to disable PCI device if PCI device has been enabled, but * PCI regions have not been reserved.