Re: [PATCH] Yet more PCI fixes for 2.5.70

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


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;

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