From 539717fe1f08a000d1eef9f345d24cb49e3663b5 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 18 Aug 2008 14:50:33 -0400 Subject: [PATCH] Remove (unused) pciMaxBusNum. --- hw/xfree86/os-support/bus/Pci.c | 9 +-------- hw/xfree86/os-support/bus/Pci.h | 2 -- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/hw/xfree86/os-support/bus/Pci.c b/hw/xfree86/os-support/bus/Pci.c index 064533c77..068694643 100644 --- a/hw/xfree86/os-support/bus/Pci.c +++ b/hw/xfree86/os-support/bus/Pci.c @@ -136,17 +136,10 @@ #include -#define PCI_MFDEV_SUPPORT 1 /* Include PCI multifunction device support */ -#define PCI_BRIDGE_SUPPORT 1 /* Include support for PCI-to-PCI bridges */ - -/* - * Global data - */ +/* Global data */ pciBusInfo_t *pciBusInfo[MAX_PCI_BUSES] = { NULL, }; _X_EXPORT int pciNumBuses = 0; /* Actual number of PCI buses */ -int pciMaxBusNum = MAX_PCI_BUSES; - _X_EXPORT ADDRESS pciBusAddrToHostAddr(PCITAG tag, PciAddrType type, ADDRESS addr) diff --git a/hw/xfree86/os-support/bus/Pci.h b/hw/xfree86/os-support/bus/Pci.h index e56d61e3b..a8b10796f 100644 --- a/hw/xfree86/os-support/bus/Pci.h +++ b/hw/xfree86/os-support/bus/Pci.h @@ -245,8 +245,6 @@ void pciCfgMech1SetBits(PCITAG tag, int offset, CARD32 mask, CARD32 val); ADDRESS pciAddrNOOP(PCITAG tag, PciAddrType type, ADDRESS); -extern int pciMaxBusNum; - extern pciBusInfo_t *pciBusInfo[]; #endif /* _PCI_H */