Re: [PATCH] Yet more PCI fixes for 2.5.70

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


ChangeSet 1.1373, 2003/06/09 16:18:27-07:00, greg@kroah.com

PCI: remove pci_present() from sound/oss/cs46xx.c

 sound/oss/cs46xx.c | 5 -----
 1 files changed, 5 deletions(-)

diff -Nru a/sound/oss/cs46xx.c b/sound/oss/cs46xx.c
--- a/sound/oss/cs46xx.c Tue Jun 10 11:17:55 2003
+++ b/sound/oss/cs46xx.c Tue Jun 10 11:17:55 2003
@@ -5725,11 +5725,6 @@
         int rtn = 0;
         CS_DBGOUT(CS_INIT | CS_FUNCTION, 2, printk(KERN_INFO
                 "cs46xx: cs46xx_init_module()+ \n"));
- if (!pci_present()) { /* No PCI bus in this machine! */
- CS_DBGOUT(CS_INIT | CS_FUNCTION, 2, printk(KERN_INFO
- "cs46xx: cs46xx_init_module()- no pci bus found\n"));
- return -ENODEV;
- }
         rtn = pci_module_init(&cs46xx_pci_driver);
 
         if(rtn == -ENODEV)

-
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:25 EST