summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2016-05-19 12:35:34 +0200
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:50:44 +0900
commit6d5dc71b3a9188bb1bfa986cf7bbbc92dcdac566 (patch)
tree6880d9936c05d21f0c6205fb82038ffaaa0b0a41
parent6e0140bb32adc27ce358829e86b757af99ef82a2 (diff)
media: s5p-mfc: fix build warning
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: Ib621db7813a80d0a775968c5fadef5f25d0a92f5
-rw-r--r--drivers/media/platform/s5p-mfc/s5p_mfc_dec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c b/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c
index 07455b14b410..73d7e0fa7619 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 ||