We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe97d64 commit 7541706Copy full SHA for 7541706
drivers/staging/media/imx/imx-media-capture.c
@@ -614,7 +614,6 @@ static int capture_release(struct file *file)
614
struct capture_priv *priv = video_drvdata(file);
615
struct video_device *vfd = priv->vdev.vfd;
616
struct vb2_queue *vq = &priv->q;
617
- int ret = 0;
618
619
mutex_lock(&priv->mutex);
620
@@ -627,7 +626,7 @@ static int capture_release(struct file *file)
627
626
628
v4l2_fh_release(file);
629
mutex_unlock(&priv->mutex);
630
- return ret;
+ return 0;
631
}
632
633
static const struct v4l2_file_operations capture_fops = {
0 commit comments