diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2012-02-27 17:18:11 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-03-15 13:12:11 +0100 |
commit | 323abebf9997f30fb357602e169ea6333ac20bc3 (patch) | |
tree | dddf1c7bdf8d5bd92dff9d6d9e2b75aaf283a1e4 | |
parent | 53f649e863dd08b6ff212093556add42f456d14d (diff) |
pseries: Remove unused constant from PCI code
The 'bars' constant array was used in experimental device allocation code
which is no longer necessary now that we always run the SLOF firmware.
This patch removes the now redundant variable.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r-- | hw/spapr_pci.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/hw/spapr_pci.c b/hw/spapr_pci.c index 374dcf8be7..3d5e50a1ee 100644 --- a/hw/spapr_pci.c +++ b/hw/spapr_pci.c @@ -32,13 +32,6 @@ #include "hw/pci_internals.h" -static const uint32_t bars[] = { - PCI_BASE_ADDRESS_0, PCI_BASE_ADDRESS_1, - PCI_BASE_ADDRESS_2, PCI_BASE_ADDRESS_3, - PCI_BASE_ADDRESS_4, PCI_BASE_ADDRESS_5 - /*, PCI_ROM_ADDRESS*/ -}; - static PCIDevice *find_dev(sPAPREnvironment *spapr, uint64_t buid, uint32_t config_addr) { |