mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 17:59:32 +00:00
[media] uvcvideo: (cosmetic) Remove a superfluous assignment
Remove a superfluous assignment to a local variable at the end of a function. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@intel.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
bb1d34875c
commit
313fe8473b
1 changed files with 1 additions and 2 deletions
|
@ -1262,8 +1262,7 @@ static void uvc_video_decode_bulk(struct urb *urb, struct uvc_streaming *stream,
|
|||
uvc_video_decode_end(stream, buf, stream->bulk.header,
|
||||
stream->bulk.payload_size);
|
||||
if (buf->state == UVC_BUF_STATE_READY)
|
||||
buf = uvc_queue_next_buffer(&stream->queue,
|
||||
buf);
|
||||
uvc_queue_next_buffer(&stream->queue, buf);
|
||||
}
|
||||
|
||||
stream->bulk.header_size = 0;
|
||||
|
|
Loading…
Reference in a new issue