Commit 78b5986b authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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

parent 15721e44
...@@ -2002,8 +2002,6 @@ static struct pci_driver vrc5477_ac97_driver = { ...@@ -2002,8 +2002,6 @@ static struct pci_driver vrc5477_ac97_driver = {
static int __init init_vrc5477_ac97(void) static int __init init_vrc5477_ac97(void)
{ {
if (!pci_present()) /* No PCI bus in this machine! */
return -ENODEV;
printk("Vrc5477 AC97 driver: version v0.2 time " __TIME__ " " __DATE__ " by Jun Sun\n"); printk("Vrc5477 AC97 driver: version v0.2 time " __TIME__ " " __DATE__ " by Jun Sun\n");
return pci_module_init(&vrc5477_ac97_driver); return pci_module_init(&vrc5477_ac97_driver);
} }
......
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