]> git.proxmox.com Git - mirror_qemu.git/commitdiff
pseries: Remove unused constant from PCI code
authorDavid Gibson <david@gibson.dropbear.id.au>
Mon, 27 Feb 2012 17:18:11 +0000 (17:18 +0000)
committerAlexander Graf <agraf@suse.de>
Thu, 15 Mar 2012 12:12:11 +0000 (13:12 +0100)
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>
hw/spapr_pci.c

index 374dcf8be76a6f8286e8ce013469ec211838d3f2..3d5e50a1eec644cf8e8349b1ebfd1be995b73157 100644 (file)
 
 #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)
 {