From 7b1f281350ca1ba1f740ced203136d27390b22c1 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 19 Nov 2008 13:59:44 -0800 Subject: [PATCH] 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 --- drivers/staging/comedi/drivers/comedi_pci.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/staging/comedi/drivers/comedi_pci.h b/drivers/staging/comedi/drivers/comedi_pci.h index 5475941dadc7..09c9a4435367 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. -- 2.39.5