[PATCH 3/5] xfree86: vgaarb: remove useless macro

Tiago Vignatti tiago.vignatti at nokia.com
Tue May 25 05:04:28 PDT 2010


This was inherited from RAC and was never used there either.

Signed-off-by: Tiago Vignatti <tiago.vignatti at nokia.com>
---
 hw/xfree86/common/xf86VGAarbiterPriv.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/hw/xfree86/common/xf86VGAarbiterPriv.h b/hw/xfree86/common/xf86VGAarbiterPriv.h
index df38d6b..2920fb5 100644
--- a/hw/xfree86/common/xf86VGAarbiterPriv.h
+++ b/hw/xfree86/common/xf86VGAarbiterPriv.h
@@ -93,9 +93,6 @@
     (VGAarbiterGCPtr)dixLookupPrivate(&(x)->devPrivates, VGAarbiterGCKey);\
     (x)->ops = pGCPriv->wrapOps; (x)->funcs = pGCPriv->wrapFuncs;
 
-#define GC_SCREEN register ScrnInfoPtr pScrn = \
-    xf86Screens[pGC->pScreen->myNum]
-
 static inline void
 VGAGet(ScreenPtr pScreen) {
     pci_device_vgaarb_set_target(xf86Screens[pScreen->myNum]->vgaDev);
-- 
1.6.0.4



More information about the xorg-devel mailing list