提交 313fe847 编写于 作者: G Guennadi Liakhovetski 提交者: Mauro Carvalho Chehab

[media] uvcvideo: (cosmetic) Remove a superfluous assignment

Remove a superfluous assignment to a local variable at the end of a
function.
Signed-off-by: NGuennadi Liakhovetski <guennadi.liakhovetski@intel.com>
Signed-off-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 bb1d3487
...@@ -1262,8 +1262,7 @@ static void uvc_video_decode_bulk(struct urb *urb, struct uvc_streaming *stream, ...@@ -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, uvc_video_decode_end(stream, buf, stream->bulk.header,
stream->bulk.payload_size); stream->bulk.payload_size);
if (buf->state == UVC_BUF_STATE_READY) if (buf->state == UVC_BUF_STATE_READY)
buf = uvc_queue_next_buffer(&stream->queue, uvc_queue_next_buffer(&stream->queue, buf);
buf);
} }
stream->bulk.header_size = 0; stream->bulk.header_size = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册