From 5727a5a4a1d89a8bf1442e7b0fd83de63512a1b6 Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Tue, 5 Aug 2014 14:00:08 -0300
Subject: [PATCH] [media] coda: remove unnecessary peek at next destination
buffer from coda_finish_decode
The return value of this call to v4l2_m2m_next_dst_buf() is never used.
Signed-off-by: Philipp Zabel
Signed-off-by: Kamil Debski
Signed-off-by: Mauro Carvalho Chehab
---
drivers/media/platform/coda/coda-bit.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/media/platform/coda/coda-bit.c b/drivers/media/platform/coda/coda-bit.c
index 1d2716d564a1..cc9afb733b48 100644
--- a/drivers/media/platform/coda/coda-bit.c
+++ b/drivers/media/platform/coda/coda-bit.c
@@ -1580,8 +1580,6 @@ static void coda_finish_decode(struct coda_ctx *ctx)
u32 err_mb;
u32 val;
- dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx);
-
/* Update kfifo out pointer from coda bitstream read pointer */
coda_kfifo_sync_from_device(ctx);
--
2.20.1