diff options
Diffstat (limited to 'arch/x86/pci/bus_numa.c')
-rw-r--r-- | arch/x86/pci/bus_numa.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/pci/bus_numa.c b/arch/x86/pci/bus_numa.c index 30f65cecd65f..3411687b676e 100644 --- a/arch/x86/pci/bus_numa.c +++ b/arch/x86/pci/bus_numa.c | |||
@@ -5,7 +5,6 @@ | |||
5 | 5 | ||
6 | int pci_root_num; | 6 | int pci_root_num; |
7 | struct pci_root_info pci_root_info[PCI_ROOT_NR]; | 7 | struct pci_root_info pci_root_info[PCI_ROOT_NR]; |
8 | int found_all_numa_early; | ||
9 | 8 | ||
10 | void x86_pci_root_bus_res_quirks(struct pci_bus *b) | 9 | void x86_pci_root_bus_res_quirks(struct pci_bus *b) |
11 | { | 10 | { |
@@ -21,10 +20,6 @@ void x86_pci_root_bus_res_quirks(struct pci_bus *b) | |||
21 | if (!pci_root_num) | 20 | if (!pci_root_num) |
22 | return; | 21 | return; |
23 | 22 | ||
24 | /* for amd, if only one root bus, don't need to do anything */ | ||
25 | if (pci_root_num < 2 && found_all_numa_early) | ||
26 | return; | ||
27 | |||
28 | for (i = 0; i < pci_root_num; i++) { | 23 | for (i = 0; i < pci_root_num; i++) { |
29 | if (pci_root_info[i].bus_min == b->number) | 24 | if (pci_root_info[i].bus_min == b->number) |
30 | break; | 25 | break; |