[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
|
@ -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 New Issue