Commit b7869ba1 authored by Bjorn Helgaas's avatar Bjorn Helgaas

x86/PCI: Remove unused pci_root_bus

pci_root_bus is unused, so remove all references to it.
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent d1c3ed66
...@@ -54,7 +54,6 @@ void pcibios_set_cache_line_size(void); ...@@ -54,7 +54,6 @@ void pcibios_set_cache_line_size(void);
/* pci-pc.c */ /* pci-pc.c */
extern int pcibios_last_bus; extern int pcibios_last_bus;
extern struct pci_bus *pci_root_bus;
extern struct pci_ops pci_root_ops; extern struct pci_ops pci_root_ops;
void pcibios_scan_specific_bus(int busn); void pcibios_scan_specific_bus(int busn);
......
...@@ -34,7 +34,6 @@ int noioapicreroute = 1; ...@@ -34,7 +34,6 @@ int noioapicreroute = 1;
#endif #endif
int pcibios_last_bus = -1; int pcibios_last_bus = -1;
unsigned long pirq_table_addr; unsigned long pirq_table_addr;
struct pci_bus *pci_root_bus;
const struct pci_raw_ops *__read_mostly raw_pci_ops; const struct pci_raw_ops *__read_mostly raw_pci_ops;
const struct pci_raw_ops *__read_mostly raw_pci_ext_ops; const struct pci_raw_ops *__read_mostly raw_pci_ext_ops;
......
...@@ -30,7 +30,7 @@ int __init pci_legacy_init(void) ...@@ -30,7 +30,7 @@ int __init pci_legacy_init(void)
} }
printk("PCI: Probing PCI hardware\n"); printk("PCI: Probing PCI hardware\n");
pci_root_bus = pcibios_scan_root(0); pcibios_scan_root(0);
return 0; return 0;
} }
......
...@@ -152,7 +152,7 @@ int __init pci_numaq_init(void) ...@@ -152,7 +152,7 @@ int __init pci_numaq_init(void)
raw_pci_ops = &pci_direct_conf1_mq; raw_pci_ops = &pci_direct_conf1_mq;
pci_root_bus = pcibios_scan_root(0); pcibios_scan_root(0);
if (num_online_nodes() > 1) if (num_online_nodes() > 1)
for_each_online_node(quad) { for_each_online_node(quad) {
if (quad == 0) if (quad == 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