[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 5/7] pseries: Remove unused constant from PCI code
From: |
David Gibson |
Subject: |
[Qemu-ppc] [PATCH 5/7] pseries: Remove unused constant from PCI code |
Date: |
Tue, 28 Feb 2012 14:18:11 +1100 |
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 <address@hidden>
Signed-off-by: David Gibson <address@hidden>
---
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 28a46bd..dafcd0e 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)
{
--
1.7.9
- [Qemu-ppc] [0/7] pseries and Power updates, David Gibson, 2012/02/27
- [Qemu-ppc] [PATCH 1/7] pseries: Don't try to munmap() a malloc()ed TCE table, David Gibson, 2012/02/27
- [Qemu-ppc] [PATCH 6/7] pseries: Remove PCI device from PCI host bridge code, David Gibson, 2012/02/27
- [Qemu-ppc] [PATCH 2/7] PPC64: Add support for ldbrx and stdbrx instructions, David Gibson, 2012/02/27
- [Qemu-ppc] [PATCH 5/7] pseries: Remove unused constant from PCI code,
David Gibson <=
- [Qemu-ppc] [PATCH 3/7] pseries: Add support for level interrupts to XICS, David Gibson, 2012/02/27
- [Qemu-ppc] [PATCH 4/7] pseries: Update SLOF firmware image, David Gibson, 2012/02/27
- [Qemu-ppc] [PATCH 7/7] pseries: Configure PCI bridge using properties, David Gibson, 2012/02/27