From: Eunyoung Lee Date: Fri, 15 Jun 2018 03:00:17 +0000 (+0900) Subject: [COMMON] fimc-is2: removed unused code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bb4e97b27974ef21cd9f6c129e2cd495c3d86286;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 --- 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