aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov2015-02-23 08:08:24 -0600
committerEmil Velikov2015-02-27 09:51:32 -0600
commit0b3e540aa40117561d4dc1e9616f003ec7a8d621 (patch)
tree39666f5c20a3af35dee8d7c9c228d0ef53e09460 /tests/exynos/exynos_fimg2d_test.c
parentbb6cc7c972d64d441216f8718ec59f30c233adaa (diff)
downloadexternal-libgbm-0b3e540aa40117561d4dc1e9616f003ec7a8d621.tar.gz
external-libgbm-0b3e540aa40117561d4dc1e9616f003ec7a8d621.tar.xz
external-libgbm-0b3e540aa40117561d4dc1e9616f003ec7a8d621.zip
exynos_fimg2d_test: remove unused variables
Cc: Inki Dae <inki.dae@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
Diffstat (limited to 'tests/exynos/exynos_fimg2d_test.c')
-rw-r--r--tests/exynos/exynos_fimg2d_test.c5
1 files changed, 0 insertions, 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,
269{ 269{
270 struct g2d_context *ctx; 270 struct g2d_context *ctx;
271 struct g2d_image src_img, dst_img; 271 struct g2d_image src_img, dst_img;
272 unsigned int count;
273 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; 272 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h;
274 unsigned long userptr, size; 273 unsigned long userptr, size;
275 int ret; 274 int ret;
@@ -353,7 +352,6 @@ static int g2d_copy_with_scale_test(struct exynos_device *dev,
353{ 352{
354 struct g2d_context *ctx; 353 struct g2d_context *ctx;
355 struct g2d_image src_img, dst_img; 354 struct g2d_image src_img, dst_img;
356 unsigned int count;
357 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; 355 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h;
358 unsigned long userptr, size; 356 unsigned long userptr, size;
359 int ret; 357 int ret;
@@ -442,7 +440,6 @@ static int g2d_blend_test(struct exynos_device *dev,
442{ 440{
443 struct g2d_context *ctx; 441 struct g2d_context *ctx;
444 struct g2d_image src_img, dst_img; 442 struct g2d_image src_img, dst_img;
445 unsigned int count;
446 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h; 443 unsigned int src_x, src_y, dst_x, dst_y, img_w, img_h;
447 unsigned long userptr, size; 444 unsigned long userptr, size;
448 int ret; 445 int ret;
@@ -557,7 +554,6 @@ int main(int argc, char **argv)
557 struct exynos_device *dev; 554 struct exynos_device *dev;
558 struct exynos_bo *bo, *src; 555 struct exynos_bo *bo, *src;
559 struct connector con; 556 struct connector con;
560 char *modeset = NULL;
561 unsigned int fb_id; 557 unsigned int fb_id;
562 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0}; 558 uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0};
563 drmModeRes *resources; 559 drmModeRes *resources;
@@ -573,7 +569,6 @@ int main(int argc, char **argv)
573 while ((c = getopt(argc, argv, optstr)) != -1) { 569 while ((c = getopt(argc, argv, optstr)) != -1) {
574 switch (c) { 570 switch (c) {
575 case 's': 571 case 's':
576 modeset = strdup(optarg);
577 con.crtc = -1; 572 con.crtc = -1;
578 if (sscanf(optarg, "%d:0x%64s", 573 if (sscanf(optarg, "%d:0x%64s",
579 &con.id, 574 &con.id,