drivers/video: Don't need update vbuf_tail in dequeue_vbuf_unsafe
since it is already done in video_framebuff_queue_container
@@ -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;
}
