From 9bc665d9b3a3042e1fd85dc675663a86a3575cc0 Mon Sep 17 00:00:00 2001 From: Eunyoung Lee Date: Fri, 15 Jun 2018 12:00:17 +0900 Subject: [PATCH] [COMMON] fimc-is2: removed unused code - if fimc_is_mexc_buffer_init/fimc_is_vra_buffer_init function is deleted, vbuf->kva[] will not use. Change-Id: I9d13c78df839e6d0ee89972641a560240ca68893 Signed-off-by: Eunyoung Lee --- drivers/media/platform/exynos/fimc-is2/fimc-is-video.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/platform/exynos/fimc-is2/fimc-is-video.c b/drivers/media/platform/exynos/fimc-is2/fimc-is-video.c index 938fc40dd0ab..9a9e9e4a19fb 100644 --- a/drivers/media/platform/exynos/fimc-is2/fimc-is-video.c +++ b/drivers/media/platform/exynos/fimc-is2/fimc-is-video.c @@ -1075,8 +1075,6 @@ set_info: frame->dvaddr_buffer[i] = (u32)queue->buf_dva[index][i]; frame->kvaddr_buffer[i] = queue->buf_kva[index][i]; - if(vbuf->kva[i] != 0) - frame->kvaddr_buffer[i] = vbuf->kva[i]; #ifdef PRINT_BUFADDR mvinfo("%s %d.%d %08X\n", vctx, video, framemgr->name, index, i, frame->dvaddr_buffer[i]); #endif -- 2.20.1