Skip to content

Commit

Permalink
Staging: comedi: comedi_pci.h: remove comedi_pci_enable_no_regions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Jan 6, 2009
1 parent 5604ec6 commit 7b1f281
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions drivers/staging/comedi/drivers/comedi_pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@

#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
* PCI regions have not been reserved.
Expand Down

0 comments on commit 7b1f281

Please sign in to comment.