From 0b3e540aa40117561d4dc1e9616f003ec7a8d621 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 23 Feb 2015 14:08:24 +0000 Subject: [PATCH] exynos_fimg2d_test: remove unused variables Cc: Inki Dae Cc: Kyungmin Park Signed-off-by: Emil Velikov Reviewed-by: Jan Vesely --- tests/exynos/exynos_fimg2d_test.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c index f1419647..17e8e53a 100644 --- a/tests/exynos/exynos_fimg2d_test.c +++ b/tests/exynos/exynos_fimg2d_test.c @@ -269,7 +269,6 @@ static int g2d_copy_test(struct exynos_device *dev, struct exynos_bo *src, { struct g2d_context *ctx; struct g2d_image src_img, dst_img; - unsigned int count; unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; unsigned long userptr, size; int ret; @@ -353,7 +352,6 @@ static int g2d_copy_with_scale_test(struct exynos_device *dev, { struct g2d_context *ctx; struct g2d_image src_img, dst_img; - unsigned int count; unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; unsigned long userptr, size; int ret; @@ -442,7 +440,6 @@ static int g2d_blend_test(struct exynos_device *dev, { struct g2d_context *ctx; struct g2d_image src_img, dst_img; - unsigned int count; unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; unsigned long userptr, size; int ret; @@ -557,7 +554,6 @@ int main(int argc, char **argv) struct exynos_device *dev; struct exynos_bo *bo, *src; struct connector con; - char *modeset = NULL; unsigned int fb_id; uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; drmModeRes *resources; @@ -573,7 +569,6 @@ int main(int argc, char **argv) while ((c = getopt(argc, argv, optstr)) != -1) { switch (c) { case 's': - modeset = strdup(optarg); con.crtc = -1; if (sscanf(optarg, "%d:0x%64s", &con.id,