public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Drivers: V4L2: Clean up unused variable 'fileio' in vb2_thread_stop()
@ 2015-04-22 13:10 Firo Yang
  2015-04-22 13:46 ` Dan Carpenter
  0 siblings, 1 reply; 2+ messages in thread
From: Firo Yang @ 2015-04-22 13:10 UTC (permalink / raw)
  To: kernel-janitors

From: Firo Yang <firogm@gmail.com>

Local variable struct vb2_fileio_data *fileio was not used
in this function. So just remove it.

Signed-off-by: Firo Yang <firogm@gmail.com>
---
 drivers/media/v4l2-core/videobuf2-core.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/v4l2-core/videobuf2-core.c b/drivers/media/v4l2-core/videobuf2-core.c
index cc16e76..471b171 100644
--- a/drivers/media/v4l2-core/videobuf2-core.c
+++ b/drivers/media/v4l2-core/videobuf2-core.c
@@ -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)
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Drivers: V4L2: Clean up unused variable 'fileio' in vb2_thread_stop()
  2015-04-22 13:10 [PATCH] Drivers: V4L2: Clean up unused variable 'fileio' in vb2_thread_stop() Firo Yang
@ 2015-04-22 13:46 ` Dan Carpenter
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Carpenter @ 2015-04-22 13:46 UTC (permalink / raw)
  To: kernel-janitors

Linus fixed this one before you.  Sorry.

regards,
dan carpenter


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-22 13:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-22 13:10 [PATCH] Drivers: V4L2: Clean up unused variable 'fileio' in vb2_thread_stop() Firo Yang
2015-04-22 13:46 ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox