Commit 0031442d authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

PCI: remove pci_present() from drivers/net/tulip/de4x5.c

parent 79ac4a04
...@@ -2182,11 +2182,6 @@ pci_probe(struct net_device *dev, u_long ioaddr) ...@@ -2182,11 +2182,6 @@ pci_probe(struct net_device *dev, u_long ioaddr)
if (lastPCI == NO_MORE_PCI) return; if (lastPCI == NO_MORE_PCI) return;
if (!pci_present()) {
lastPCI = NO_MORE_PCI;
return; /* No PCI bus in this machine! */
}
lp->bus = PCI; lp->bus = PCI;
lp->bus_num = 0; lp->bus_num = 0;
...@@ -5863,7 +5858,6 @@ count_adapters(void) ...@@ -5863,7 +5858,6 @@ count_adapters(void)
if (EISA_signature(name, EISA_ID)) j++; if (EISA_signature(name, EISA_ID)) j++;
} }
#endif #endif
if (!pci_present()) return j;
for (i=0; (pdev=pci_find_class(class, pdev))!= NULL; i++) { for (i=0; (pdev=pci_find_class(class, pdev))!= NULL; i++) {
vendor = pdev->vendor; vendor = pdev->vendor;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment