Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH
2003-06-10T18:38:54Z

ChangeSet 1.1320, 2003/06/09 15:31:07-07:00, greg@kroah.com

PCI: remove pci_present() from drivers/atm/nicstar.c

drivers/atm/nicstar.c | 5 -----
1 files changed, 5 deletions(-)

diff -Nru a/drivers/atm/nicstar.c b/drivers/atm/nicstar.c
--- a/drivers/atm/nicstar.c Tue Jun 10 11:22:23 2003
+++ b/drivers/atm/nicstar.c Tue Jun 10 11:22:23 2003
@@ -283,11 +283,6 @@
struct pci_dev *pcidev;

XPRINTK("nicstar: nicstar_module_init() called.\n");
- if(!pci_present())
- {
- printk("nicstar: no PCI subsystem found.\n");
- return -EIO;
- }

for(i = 0; i < NS_MAX_CARDS; i++)
cards[i] = NULL;