Commit 08c681a6 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

PCI: remove pci_present() from drivers/char/epca.c

parent 88052ed3
...@@ -1639,16 +1639,9 @@ int __init pc_init(void) ...@@ -1639,16 +1639,9 @@ int __init pc_init(void)
--------------------------------------------------------------------- */ --------------------------------------------------------------------- */
pci_boards_found = 0; pci_boards_found = 0;
if (pci_present()) if(num_cards < MAXBOARDS)
{ pci_boards_found += init_PCI();
if(num_cards < MAXBOARDS) num_cards += pci_boards_found;
pci_boards_found += init_PCI();
num_cards += pci_boards_found;
}
else
{
printk(KERN_ERR "<Error> - No PCI BIOS found\n");
}
#endif /* ENABLE_PCI */ #endif /* ENABLE_PCI */
......
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