From: Jeongtae Park Date: Sun, 17 Jun 2018 08:07:27 +0000 (+0900) Subject: [COMMON] fimc-is2: remove unused code for permanent mapping X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=74247a0d265dce4df0b0ae6cbc1e31141c6de982;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] fimc-is2: remove unused code for permanent mapping Change-Id: Iabdfd8aa69def40dab7f55c4312bd3096fa04569 Signed-off-by: Jeongtae Park --- 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; }