From 6d5dc71b3a9188bb1bfa986cf7bbbc92dcdac566 Mon Sep 17 00:00:00 2001 From: Marek Szyprowski Date: Thu, 19 May 2016 12:35:34 +0200 Subject: [PATCH] media: s5p-mfc: fix build warning Signed-off-by: Marek Szyprowski Change-Id: Ib621db7813a80d0a775968c5fadef5f25d0a92f5 --- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c b/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c index 07455b1..73d7e0f 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c @@ -1022,7 +1022,6 @@ static int s5p_mfc_buf_prepare(struct vb2_buffer *vb) { struct vb2_queue *vq = vb->vb2_queue; struct s5p_mfc_ctx *ctx = fh_to_ctx(vq->drv_priv); - unsigned int index = vb->v4l2_buf.index; if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { if (vb2_plane_size(vb, 0) < ctx->luma_size || -- 2.7.4