From b78f7b277491377123842fdfe1cae3c1260911de Mon Sep 17 00:00:00 2001 From: Hoegeun Kwon Date: Mon, 17 Apr 2017 19:29:11 +0900 Subject: ipptest: Fix unused-variable build warnings fimc.c:669:23: warning: unused variable 'args' [-Wunused-variable] struct drm_gem_close args; fimc.c:957:24: warning: unused variable 'def_pos' [-Wunused-variable] struct drm_exynos_pos def_pos = {0, 0, 720, 1280}; Change-Id: I8ade8f109d2c1ed58306911f151f1ec92f8ab42f Signed-off-by: Hoegeun Kwon --- tests/ipptest/fimc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/ipptest/fimc.c b/tests/ipptest/fimc.c index 05901038..2d15cac5 100644 --- a/tests/ipptest/fimc.c +++ b/tests/ipptest/fimc.c @@ -666,7 +666,6 @@ void fimc_m2m_set_mode(struct device *dev, struct connector *c, int count, struct drm_exynos_ipp_queue_buf qbuf1[MAX_BUF], qbuf2[MAX_BUF]; struct drm_exynos_gem_create gem1[MAX_BUF], gem2[MAX_BUF]; void *usr_addr1[MAX_BUF], *usr_addr2[MAX_BUF]; - struct drm_gem_close args; uint32_t handles[4], pitches[4], offsets[4] = {0}; unsigned int fb_id_dst; struct kms_bo *bo_src[MAX_BUF] = { NULL, }, *bo_dst = NULL; @@ -956,7 +955,6 @@ err_ipp_src_buff_close: void fimc_wb_set_mode(struct connector *c, int count, int page_flip, long int *usec) { - struct drm_exynos_pos def_pos = {0, 0, 720, 1280}; struct drm_exynos_sz def_sz = {720, 1280}; struct drm_exynos_ipp_property property; struct drm_exynos_gem_create gem[MAX_BUF]; -- cgit v1.2.3