Received: from eggs.gnu.org ([208.118.235.92]:41113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S89Zn-0002sD-Jo for qemu-devel@nongnu.org; Thu, 15 Mar 2012 08:14:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S89Ze-0002RA-Ax for qemu-devel@nongnu.org; Thu, 15 Mar 2012 08:14:39 -0400 From: Alexander Graf Date: Thu, 15 Mar 2012 13:14:13 +0100 Message-Id: <1331813662-15141-8-git-send-email-agraf@suse.de> In-Reply-To: <1331813662-15141-1-git-send-email-agraf@suse.de> References: <1331813662-15141-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH 07/16] pseries: Remove unused constant from PCI code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel qemu-devel Cc: blauwirbel@gmail.com, Alexey Kardashevskiy , qemu-ppc@nongnu.org, aurelien@aurel32.net, David Gibson From: 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 Signed-off-by: Alexander Graf --- 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 374dcf8..3d5e50a 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.6.0.2