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.1319, 2003/06/09 15:30:39-07:00, greg@kroah.com

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

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

diff -Nru a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c
--- a/drivers/atm/fore200e.c Tue Jun 10 11:22:27 2003
+++ b/drivers/atm/fore200e.c Tue Jun 10 11:22:27 2003
@@ -633,11 +633,6 @@
struct pci_dev* pci_dev = NULL;
int count = index;

- if (pci_present() == 0) {
- printk(FORE200E "no PCI subsystem\n");
- return NULL;
- }
-
do {
pci_dev = pci_find_device(PCI_VENDOR_ID_FORE, PCI_DEVICE_ID_FORE_PCA200E, pci_dev);
if (pci_dev == 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/