Skip to contentSkip to conversation

Drivers: V4L2: Clean up unused variable 'fileio' in vb2_thread_stop()

PATCH In review Firo Yang 2 participants 2 messages Apr 22, 2015

Subsystems (2)
lore
Share & tools
lore

Firo Yang

author
#0 lore raw

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.

---
 drivers/media/v4l2-core/videobuf2-core.c | 1 -
 1 file changed, 1 deletion(-)
drivers/media/v4l2-core/videobuf2-core.c +0 -1
index cc16e76..471b171 100644
@@ -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
#1 lore raw

Linus fixed this one before you. Sorry.

regards,
dan carpenter