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

PCI: remove pci_present() from drivers/pci/proc.c

parent 6c50cdfb
......@@ -579,7 +579,6 @@ static struct file_operations proc_bus_pci_dev_operations = {
static int __init pci_proc_init(void)
{
if (pci_present()) {
struct proc_dir_entry *entry;
struct pci_dev *dev = NULL;
proc_bus_pci_dir = proc_mkdir("pci", proc_bus);
......@@ -591,7 +590,6 @@ static int __init pci_proc_init(void)
pci_proc_attach_device(dev);
}
legacy_proc_init();
}
return 0;
}
......
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