From 077d2d3b8a5ce7754394651ebe69c34a966a7bb0 Mon Sep 17 00:00:00 2001 From: Russell King Date: Fri, 12 Sep 2014 13:33:26 +0100 Subject: vivante: remove unused BoxCopy() BoxCopy() is not used, and is #if 0'd out. Remove it. Signed-off-by: Russell King --- src/vivante_accel.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/vivante_accel.c b/src/vivante_accel.c index 72bf804..4364868 100644 --- a/src/vivante_accel.c +++ b/src/vivante_accel.c @@ -1148,22 +1148,6 @@ static Bool vivante_fill_single(struct vivante *vivante, return TRUE; } -#if 0 -static void BoxCopy(gcsRECT_PTR src, gcsRECT_PTR dst, int xSrc, int ySrc, - int xDst, int yDst, int w, int h) -{ - src->left = xSrc; - src->top = ySrc; - src->right = xSrc + w; - src->bottom = ySrc + h; - - dst->left = xDst; - dst->top = yDst; - dst->right = xDst + w; - dst->bottom = yDst + h; -} -#endif - static Bool vivante_blend(struct vivante *vivante, gcsRECT_PTR clip, const struct vivante_blend_op *blend, struct vivante_pixmap *vDst, gcsRECT_PTR rDst, -- cgit v1.2.3