From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2DaN-0008MJ-4a for qemu-devel@nongnu.org; Mon, 27 Feb 2012 22:18:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2Da8-0000OG-QM for qemu-devel@nongnu.org; Mon, 27 Feb 2012 22:18:42 -0500 From: David Gibson Date: Tue, 28 Feb 2012 14:18:11 +1100 Message-Id: <1330399093-20384-6-git-send-email-david@gibson.dropbear.id.au> In-Reply-To: <1330399093-20384-1-git-send-email-david@gibson.dropbear.id.au> References: <1330399093-20384-1-git-send-email-david@gibson.dropbear.id.au> Subject: [Qemu-devel] [PATCH 5/7] pseries: Remove unused constant from PCI code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: agraf@suse.de Cc: Alexey Kardashevskiy , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, anthony@codemonkey.ws, David Gibson 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 Signed-off-by: David Gibson --- 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