[PATCH xserver 4/4] xfree86: Remove odd check definition PCI_DOM_MASK

Alexandr Shadchin alexandr.shadchin at gmail.com
Sat Oct 29 08:54:07 PDT 2011


PCI_DOM_MASK is already defined (see above).

Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin at gmail.com>
---
 hw/xfree86/os-support/bus/Pci.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/hw/xfree86/os-support/bus/Pci.h b/hw/xfree86/os-support/bus/Pci.h
index 90713bc..ff057e7 100644
--- a/hw/xfree86/os-support/bus/Pci.h
+++ b/hw/xfree86/os-support/bus/Pci.h
@@ -119,9 +119,6 @@
 #define PCI_DOM_MASK 0x0ffu
 #endif
 
-#ifndef PCI_DOM_MASK
-# define PCI_DOM_MASK 0x0ffu
-#endif
 #define PCI_DOMBUS_MASK (((PCI_DOM_MASK) << 8) | 0x0ffu)
 
 #define PCI_MAKE_BUS(d,b)    ((((d) & (PCI_DOM_MASK)) << 8) | ((b) & 0xffu))
-- 
1.7.6



More information about the xorg-devel mailing list