forked from Minki/linux
[media] coda: get rid of unused var
Some vars are not used, as warned by gcc: drivers/media/platform/coda/coda-common.c: In function 'coda_buf_is_end_of_stream': drivers/media/platform/coda/coda-common.c:816:20: warning: variable 'src_vq' set but not used [-Wunused-but-set-variable] struct vb2_queue *src_vq; ^~~~~~ Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
1e9b71d53d
commit
155ee528fb
@ -817,9 +817,7 @@ static int coda_qbuf(struct file *file, void *priv,
|
||||
static bool coda_buf_is_end_of_stream(struct coda_ctx *ctx,
|
||||
struct vb2_v4l2_buffer *buf)
|
||||
{
|
||||
struct vb2_queue *src_vq;
|
||||
|
||||
src_vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, V4L2_BUF_TYPE_VIDEO_OUTPUT);
|
||||
v4l2_m2m_get_vq(ctx->fh.m2m_ctx, V4L2_BUF_TYPE_VIDEO_OUTPUT);
|
||||
|
||||
return ((ctx->bit_stream_param & CODA_BIT_STREAM_END_FLAG) &&
|
||||
(buf->sequence == (ctx->qsequence - 1)));
|
||||
|
Loading…
Reference in New Issue
Block a user