]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] coda: remove unnecessary peek at next destination buffer from coda_finish_decode
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 5 Aug 2014 17:00:08 +0000 (14:00 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:23 +0000 (15:25 -0500)
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>
drivers/media/platform/coda/coda-bit.c

index 1d2716d564a1be9fe7f3b823f41b013c3609bbd9..cc9afb733b48cd31a0da94f05771c0d04c0531ba 100644 (file)
@@ -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);