Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH (greg@kroah.com)
Tue, 10 Jun 2003 11:49:24 -0700


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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/