Commit 15c71436 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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

parent 47019577
...@@ -5725,11 +5725,6 @@ int __init cs46xx_init_module(void) ...@@ -5725,11 +5725,6 @@ int __init cs46xx_init_module(void)
int rtn = 0; int rtn = 0;
CS_DBGOUT(CS_INIT | CS_FUNCTION, 2, printk(KERN_INFO CS_DBGOUT(CS_INIT | CS_FUNCTION, 2, printk(KERN_INFO
"cs46xx: cs46xx_init_module()+ \n")); "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); rtn = pci_module_init(&cs46xx_pci_driver);
if(rtn == -ENODEV) if(rtn == -ENODEV)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment