Commit f484d90f authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

PCI: remove pci_present() from drivers/isdn/eicon/Divas_mod.c

parent 815c78cb
...@@ -50,17 +50,9 @@ divas_init(void) ...@@ -50,17 +50,9 @@ divas_init(void)
DivasInitDpc(); DivasInitDpc();
if (pci_present()) if (DivasCardsDiscover() < 0)
{ {
if (DivasCardsDiscover() < 0) printk(KERN_WARNING "Divas: Not loaded\n");
{
printk(KERN_WARNING "Divas: Not loaded\n");
return -ENODEV;
}
}
else
{
printk(KERN_WARNING "Divas: No PCI bus present\n");
return -ENODEV; return -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