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

Tiago Vignatti tiago.vignatti at nokia.com
Thu Jun 3 01:34:12 PDT 2010


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

Signed-off-by: Tiago Vignatti <tiago.vignatti at nokia.com>
Reviewed-by: Jamey Sharp <jamey at minilop.net>
---
 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.7.1.226.g770c5



More information about the xorg-devel mailing list