aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Vesely2015-02-27 11:47:46 -0600
committerJan Vesely2015-03-14 16:02:06 -0500
commit0706c14e7cc5f1d996bb1c3c526f877c4f8fc215 (patch)
treeece8b3813bb5c3a660df0d41221e7871a568a383 /tests/exynos/exynos_fimg2d_test.c
parent13e34308b70a9e0e7682ae7ced29a4aa0c3ad281 (diff)
downloadexternal-libgbm-0706c14e7cc5f1d996bb1c3c526f877c4f8fc215.tar.gz
external-libgbm-0706c14e7cc5f1d996bb1c3c526f877c4f8fc215.tar.xz
external-libgbm-0706c14e7cc5f1d996bb1c3c526f877c4f8fc215.zip
Fix unused, and unused-but-set variables warnings
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Emil Velikov <eil.l.velikov@gmail.com>
Diffstat (limited to 'tests/exynos/exynos_fimg2d_test.c')
-rw-r--r--tests/exynos/exynos_fimg2d_test.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c
index 14b38a9e..8e20e27b 100644
--- a/tests/exynos/exynos_fimg2d_test.c
+++ b/tests/exynos/exynos_fimg2d_test.c
@@ -360,7 +360,7 @@ static int g2d_copy_with_scale_test(struct exynos_device *dev,
360{ 360{
361 struct g2d_context *ctx; 361 struct g2d_context *ctx;
362 struct g2d_image src_img, dst_img; 362 struct g2d_image src_img, dst_img;
363 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; 363 unsigned int src_x, src_y, img_w, img_h;
364 unsigned long userptr, size; 364 unsigned long userptr, size;
365 int ret; 365 int ret;
366 366
@@ -374,8 +374,6 @@ static int g2d_copy_with_scale_test(struct exynos_device *dev,
374 374
375 src_x = 0; 375 src_x = 0;
376 src_y = 0; 376 src_y = 0;
377 dst_x = 0;
378 dst_y = 0;
379 img_w = screen_width; 377 img_w = screen_width;
380 img_h = screen_height; 378 img_h = screen_height;
381 379