[COMMON] fimc-is2: removed unused code
authorEunyoung Lee <ey470.lee@samsung.com>
Fri, 15 Jun 2018 03:00:17 +0000 (12:00 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:32 +0000 (20:22 +0300)
- 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 <ey470.lee@samsung.com>
drivers/media/platform/exynos/fimc-is2/fimc-is-video.c

index 938fc40dd0abc2611c2b4f049758b61c20e4b257..9a9e9e4a19fbe924bb9d6a4c538c54dd98fb27fc 100644 (file)
@@ -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