Commit 6c50cdfb authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

PCI: remove pci_present() from drivers/net/wan/sdladrv.c

parent e0ea3233
...@@ -1905,13 +1905,7 @@ static int detect_s514 (sdlahw_t* hw) ...@@ -1905,13 +1905,7 @@ static int detect_s514 (sdlahw_t* hw)
struct pci_dev *pci_dev; struct pci_dev *pci_dev;
#ifdef CONFIG_PCI #ifndef CONFIG_PCI
if(!pci_present())
{
printk(KERN_INFO "%s: PCI BIOS not present!\n", modname);
return 0;
}
#else
printk(KERN_INFO "%s: Linux not compiled for PCI usage!\n", modname); printk(KERN_INFO "%s: Linux not compiled for PCI usage!\n", modname);
return 0; return 0;
#endif #endif
......
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