lkml.org 
[lkml]   [2003]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] Yet more PCI fixes for 2.5.70
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.022 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site