[COMMON] fimc-is2: remove unused code for permanent mapping
authorJeongtae Park <jtp.park@samsung.com>
Sun, 17 Jun 2018 08:07:27 +0000 (17:07 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:05:15 +0000 (17:05 +0900)
Change-Id: Iabdfd8aa69def40dab7f55c4312bd3096fa04569
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
drivers/media/platform/exynos/fimc-is2/fimc-is-video.c

index 5e20ca81e47cadef91716468534135ec50490b5b..105f2e47e0cfb69e1993337dc08918ca4fb19d94 100644 (file)
@@ -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;
 }