diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2014-01-24 11:56:06 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-02-03 10:38:46 -0700 |
commit | 25453e9e521382883b6588ef1748ed61efc77001 (patch) | |
tree | fb580ab4d1c953aab3a7421468aabe07b237a5a2 /arch/x86/pci/acpi.c | |
parent | 6616dbdf6d967c704830586d5ead35c9767a8431 (diff) | |
download | linux-stable-25453e9e521382883b6588ef1748ed61efc77001.tar.gz linux-stable-25453e9e521382883b6588ef1748ed61efc77001.tar.bz2 linux-stable-25453e9e521382883b6588ef1748ed61efc77001.zip |
x86/PCI: Remove mp_bus_to_node[], set_mp_bus_to_node(), get_mp_bus_to_node()
There are no callers of get_mp_bus_to_node(), so we no longer need
mp_bus_to_node[], get_mp_bus_to_node(), or set_mp_bus_to_node().
This removes them.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/x86/pci/acpi.c')
-rw-r--r-- | arch/x86/pci/acpi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/pci/acpi.c b/arch/x86/pci/acpi.c index 3f42c5c05bf6..78f27efa11e1 100644 --- a/arch/x86/pci/acpi.c +++ b/arch/x86/pci/acpi.c @@ -499,10 +499,8 @@ struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root) pxm = acpi_get_pxm(device->handle); if (pxm >= 0) node = pxm_to_node(pxm); - if (node != -1) - set_mp_bus_to_node(busnum, node); - else #endif + if (node == -1) node = x86_pci_root_bus_node(busnum); if (node != -1 && !node_online(node)) |