Re: [PATCH] Yet more PCI fixes for 2.5.70

From: Greg KH (greg@kroah.com)
Date: Tue Jun 10 2003 - 13:49:26 EST


ChangeSet 1.1333, 2003/06/09 15:38:57-07:00, greg@kroah.com

PCI: remove pci_present() from drivers/isdn/hysdn/hysdn_init.c

 drivers/isdn/hysdn/hysdn_init.c | 4 ----
 1 files changed, 4 deletions(-)

diff -Nru a/drivers/isdn/hysdn/hysdn_init.c b/drivers/isdn/hysdn/hysdn_init.c
--- a/drivers/isdn/hysdn/hysdn_init.c Tue Jun 10 11:21:22 2003
+++ b/drivers/isdn/hysdn/hysdn_init.c Tue Jun 10 11:21:22 2003
@@ -203,10 +203,6 @@
         printk(KERN_NOTICE "HYSDN: module Rev: %s loaded\n", hysdn_getrev(tmp));
         strcpy(tmp, hysdn_net_revision);
         printk(KERN_NOTICE "HYSDN: network interface Rev: %s \n", hysdn_getrev(tmp));
- if (!pci_present()) {
- printk(KERN_ERR "HYSDN: no PCI bus present, module not loaded\n");
- return (-1);
- }
         search_cards();
         printk(KERN_INFO "HYSDN: %d card(s) found.\n", cardmax);
 

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



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:26 EST