Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH
2003-06-10T20:38:05Z

ChangeSet 1.1338, 2003/06/09 15:49:08-07:00, greg@kroah.com

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

drivers/net/fc/iph5526.c | 6 +-----
1 files changed, 1 insertion(+), 5 deletions(-)

diff -Nru a/drivers/net/fc/iph5526.c b/drivers/net/fc/iph5526.c
--- a/drivers/net/fc/iph5526.c Tue Jun 10 11:20:59 2003
+++ b/drivers/net/fc/iph5526.c Tue Jun 10 11:20:59 2003
@@ -232,7 +232,7 @@

int __init iph5526_probe(struct net_device *dev)
{
- if (pci_present() && (iph5526_probe_pci(dev) == 0))
+ if (iph5526_probe_pci(dev) == 0)
return 0;
return -ENODEV;
}
@@ -3720,10 +3720,6 @@
unsigned long timeout;

tmpt->proc_name = "iph5526";
- if (pci_present() == 0) {
- printk("iph5526: PCI not present\n");
- return 0;
- }

for (i = 0; i <= MAX_FC_CARDS; i++)
fc[i] = NULL;