mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-23 22:34:21 +08:00
media: videobuf2: remove unused variable
Commit2cc1802f62
("media: vb2: Keep dma-buf buffers mapped until they are freed") removed code leaving a local variable unused. Remove it to avoid a compiler warning. Fixes:2cc1802f62
("media: vb2: Keep dma-buf buffers mapped until they are freed") Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
f0ef022c85
commit
d889376243
@ -1769,7 +1769,6 @@ EXPORT_SYMBOL_GPL(vb2_wait_for_all_buffers);
|
||||
static void __vb2_dqbuf(struct vb2_buffer *vb)
|
||||
{
|
||||
struct vb2_queue *q = vb->vb2_queue;
|
||||
unsigned int i;
|
||||
|
||||
/* nothing to do if the buffer is already dequeued */
|
||||
if (vb->state == VB2_BUF_STATE_DEQUEUED)
|
||||
|
Loading…
Reference in New Issue
Block a user