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/