Re: [PATCH] Yet more PCI fixes for 2.5.70

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


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

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

drivers/net/tulip/de4x5.c | 6 ------
1 files changed, 6 deletions(-)

diff -Nru a/drivers/net/tulip/de4x5.c b/drivers/net/tulip/de4x5.c
--- a/drivers/net/tulip/de4x5.c Tue Jun 10 11:20:28 2003
+++ b/drivers/net/tulip/de4x5.c Tue Jun 10 11:20:28 2003
@@ -2182,11 +2182,6 @@

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_num = 0;

@@ -5863,7 +5858,6 @@
if (EISA_signature(name, EISA_ID)) j++;
}
#endif
- if (!pci_present()) return j;

for (i=0; (pdev=pci_find_class(class, pdev))!= NULL; i++) {
vendor = pdev->vendor;

-
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/