Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH
2003-06-10T21:33:01Z

ChangeSet 1.1343, 2003/06/09 15:51:45-07:00, greg@kroah.com

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

drivers/net/tc35815.c | 3 ---
1 files changed, 3 deletions(-)

diff -Nru a/drivers/net/tc35815.c b/drivers/net/tc35815.c
--- a/drivers/net/tc35815.c Tue Jun 10 11:20:33 2003
+++ b/drivers/net/tc35815.c Tue Jun 10 11:20:33 2003
@@ -488,9 +488,6 @@
return -ENODEV;
called++;

- if (!pci_present())
- return -ENODEV;
-
if (pdev) {
unsigned int pci_memaddr;
unsigned int pci_irq_line;