[PATCH] damage: Delete NOTUSED block--it was never not NOTUSED.
Tiago Vignatti
tiago.vignatti at nokia.com
Mon Jun 14 09:22:54 PDT 2010
On Mon, Jun 14, 2010 at 06:03:06PM +0200, ext Jamey Sharp wrote:
> 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; \
Seems it is there since the first revision. Kill it:
Reviewed-by: Tiago Vignatti <tiago.vignatti at nokia.com>
(note we have some wrapping by the same macro name inside
hw/kdrive/linux/mouse.c)
Tiago
More information about the xorg-devel
mailing list