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/