summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk@arm.linux.org.uk>2014-09-12 13:33:26 +0100
committerRussell King <rmk@arm.linux.org.uk>2014-09-12 14:19:09 +0100
commit077d2d3b8a5ce7754394651ebe69c34a966a7bb0 (patch)
tree851fa0627dfa892f438871336c0fdd8c2b932cc8
parent8aaf7cb716dec17e9f2ef598eff323c80350780b (diff)
downloadxf86-video-armada-077d2d3b8a5ce7754394651ebe69c34a966a7bb0.tar.gz
vivante: remove unused BoxCopy()
BoxCopy() is not used, and is #if 0'd out. Remove it. Signed-off-by: Russell King <rmk@arm.linux.org.uk>
-rw-r--r--src/vivante_accel.c16
1 files changed, 0 insertions, 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,