drivers/video: Don't need update vbuf_tail in dequeue_vbuf_unsafe
since it is already done in video_framebuff_queue_container Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
01d7f44480
commit
e15bccaa71
|
@ -69,11 +69,6 @@ static inline vbuf_container_t *dequeue_vbuf_unsafe(video_framebuff_t *fbuf)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (fbuf->mode == V4L2_BUF_MODE_RING)
|
||||
{
|
||||
fbuf->vbuf_tail->next = fbuf->vbuf_top->next;
|
||||
}
|
||||
|
||||
fbuf->vbuf_top = fbuf->vbuf_top->next;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue