summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/bus/ix86Pci.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-10-03 16:53:08 -0400
committerAdam Jackson <ajax@redhat.com>2008-10-03 17:51:20 -0400
commit77d0b0ecfa3c67ff8d11e773a7f083721cf4c6d7 (patch)
tree8ec51e565d47ce5ee98fa6fc1967df5602f8921f /hw/xfree86/os-support/bus/ix86Pci.c
parent0ce61e21d6d7dcca0090e319bbcdb678570f2c3f (diff)
Remove unused pciNumBuses
Diffstat (limited to 'hw/xfree86/os-support/bus/ix86Pci.c')
-rw-r--r--hw/xfree86/os-support/bus/ix86Pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/xfree86/os-support/bus/ix86Pci.c b/hw/xfree86/os-support/bus/ix86Pci.c
index 80bac32bc..a279363d9 100644
--- a/hw/xfree86/os-support/bus/ix86Pci.c
+++ b/hw/xfree86/os-support/bus/ix86Pci.c
@@ -474,13 +474,11 @@ void
ix86PciInit()
{
/* Initialize pciBusInfo */
- pciNumBuses = 1;
pciBusInfo = &ix86Pci0;
/* Make sure that there is a PCI bus present. */
ix86PciSelectCfgmech();
if (ix86Pci0.configMech == PCI_CFG_MECH_UNKNOWN) {
- pciNumBuses = 0;
pciBusInfo = NULL;
}
}