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

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

parent 3df78739
......@@ -405,7 +405,7 @@ int __init hp100_probe(struct net_device *dev)
/* First: scan PCI bus(es) */
#ifdef CONFIG_PCI
if (pci_present()) {
{
int pci_index;
struct pci_dev *pci_dev = NULL;
int pci_id_index;
......@@ -2973,8 +2973,10 @@ static int __init hp100_module_init(void)
{
int i, cards;
if (hp100_port == 0 && !EISA_bus && !pci_present())
#ifndef CONFIG_PCI
if (hp100_port == 0 && !EISA_bus)
printk("hp100: You should not use auto-probing with insmod!\n");
#endif
/* Loop on all possible base addresses */
i = -1;
......
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