Drivers: V4L2: Clean up unused variable 'fileio' in vb2_thread_stop()
Subsystems (2)
PATCH 1/1 Drivers: V4L2: Clean up unused variable 'fileio' in vb2_thread_stop()
From: Firo Yang <[email protected]>
Local variable struct vb2_fileio_data *fileio was not used in this function. So just remove it.
Signed-off-by Firo Yang <[email protected]>
--- drivers/media/v4l2-core/videobuf2-core.c | 1 - 1 file changed, 1 deletion(-)
drivers/media/v4l2-core/videobuf2-core.c +0 -1
@@ -3225,7 +3225,6 @@ EXPORT_SYMBOL_GPL(vb2_thread_start);int vb2_thread_stop (struct vb2_queue *q) {struct vb2_threadio_data *threadio = q->threadio; -struct vb2_fileio_data *fileio = q->fileio;int err;if (threadio =NULL )
Signature · 1 line
2.1.0
Linus fixed this one before you. Sorry.
regards,
dan carpenter