summaryrefslogtreecommitdiff
path: root/drivers/media/platform/coda
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2014-08-05 14:00:08 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-21 15:25:23 -0500
commit5727a5a4a1d89a8bf1442e7b0fd83de63512a1b6 (patch)
tree1c5910b7042a2ea30c7eca44d471a55ab547b0bb /drivers/media/platform/coda
parent2c3759d406ded38b88992cb4e423ce232112001a (diff)
[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 <p.zabel@pengutronix.de> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/coda')
-rw-r--r--drivers/media/platform/coda/coda-bit.c2
1 files changed, 0 insertions, 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);