From 60c5e023e8ddaae8e011f80736e7cc3e8c12583d Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 12 Jan 2007 10:24:03 -0800 Subject: [PATCH] Eliminate some dead code. --- hw/xfree86/common/xf86pciBus.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c index e54de142a..11e9bc008 100644 --- a/hw/xfree86/common/xf86pciBus.c +++ b/hw/xfree86/common/xf86pciBus.c @@ -97,21 +97,6 @@ static struct pci_device ** xf86PciVideoInfo = NULL; /* PCI probe for video hw * || IS_VGA(c) ) -#define B2M(tag,base) pciBusAddrToHostAddr(tag,PCI_MEM,base) -#define B2I(tag,base) pciBusAddrToHostAddr(tag,PCI_IO,base) - -#define PCI_M_RANGE(range,tag,begin,end,type) \ - { \ - RANGE(range, B2M(tag, begin), B2M(tag, end), \ - RANGE_TYPE(type, xf86GetPciDomain(tag))); \ - } -#define PCI_I_RANGE(range,tag,begin,end,type) \ - { \ - RANGE(range, B2I(tag, begin), B2I(tag, end), \ - RANGE_TYPE(type, xf86GetPciDomain(tag))); \ - } - - _X_EXPORT void xf86FormatPciBusNumber(int busnum, char *buffer) {