[PATCH] damage: Delete NOTUSED block--it was never not NOTUSED.

Jamey Sharp jamey at minilop.net
Mon Jun 14 09:03:06 PDT 2010


Signed-off-by: Jamey Sharp <jamey at minilop.net>
---
 miext/damage/damage.c |   22 ----------------------
 1 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/miext/damage/damage.c b/miext/damage/damage.c
index 54431c9..f5917ea 100644
--- a/miext/damage/damage.c
+++ b/miext/damage/damage.c
@@ -462,28 +462,6 @@ damageCreateGC(GCPtr pGC)
     return ret;
 }
 
-#ifdef NOTUSED
-static void
-damageWrapGC (GCPtr pGC)
-{
-    damageGCPriv(pGC);
-
-    pGCPriv->ops = NULL;
-    pGCPriv->funcs = pGC->funcs;
-    pGC->funcs = &damageGCFuncs;
-}
-
-static void
-damageUnwrapGC (GCPtr pGC)
-{
-    damageGCPriv(pGC);
-
-    pGC->funcs = pGCPriv->funcs;
-    if (pGCPriv->ops)
-	pGC->ops = pGCPriv->ops;
-}
-#endif
-
 #define DAMAGE_GC_OP_PROLOGUE(pGC, pDrawable) \
     damageGCPriv(pGC);  \
     GCFuncs *oldFuncs = pGC->funcs; \
-- 
1.7.0



More information about the xorg-devel mailing list