From: Philipp Zabel
Date: Tue, 5 Aug 2014 17:00:08 +0000 (-0300)
Subject: [media] coda: remove unnecessary peek at next destination buffer from coda_finish_decode
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5727a5a4a1d89a8bf1442e7b0fd83de63512a1b6;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git
[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
---
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);