From 74247a0d265dce4df0b0ae6cbc1e31141c6de982 Mon Sep 17 00:00:00 2001 From: Jeongtae Park Date: Sun, 17 Jun 2018 17:07:27 +0900 Subject: [PATCH] [COMMON] fimc-is2: remove unused code for permanent mapping Change-Id: Iabdfd8aa69def40dab7f55c4312bd3096fa04569 Signed-off-by: Jeongtae Park --- drivers/media/platform/exynos/fimc-is2/fimc-is-video.c | 6 ------ 1 file changed, 6 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 5e20ca81e47c..105f2e47e0cf 100644 --- a/drivers/media/platform/exynos/fimc-is2/fimc-is-video.c +++ b/drivers/media/platform/exynos/fimc-is2/fimc-is-video.c @@ -1098,15 +1098,9 @@ int fimc_is_buffer_init(struct vb2_buffer *vb) struct vb2_v4l2_buffer *vb2_v4l2_buf = to_vb2_v4l2_buffer(vb); struct fimc_is_vb2_buf *vbuf = vb_to_fimc_is_vb2_buf(vb2_v4l2_buf); struct fimc_is_video_ctx *vctx = vb->vb2_queue->drv_priv; - unsigned int plane; vbuf->ops = vctx->fimc_is_vb2_buf_ops; - for (plane = 0; plane < vb->num_planes; ++plane) { - /* vbuf->kva[plane] = vbuf->ops->plane_kvaddr(vbuf, plane); */ - /* vbuf->dva[plane] = vbuf->ops->plane_dvaddr(vbuf, plane); */ - } - return 0; } -- 2.20.1