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 <ds@schleef.org> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -28,15 +28,6 @@
|
|||||||
|
|
||||||
#include <linux/pci.h>
|
#include <linux/pci.h>
|
||||||
|
|
||||||
/*
|
|
||||||
* 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
|
* Called to disable PCI device if PCI device has been enabled, but
|
||||||
* PCI regions have not been reserved.
|
* PCI regions have not been reserved.
|
||||||
|
Reference in New Issue
Block a user