Merge tag 'md/3.16' of git://neil.brown.name/md
[firefly-linux-kernel-4.4.55.git] / drivers / media / platform / vivi.c
index 3890f4f42a78af6f3cf29042fcf1c00b22297023..d00bf3df0f8a0bf6bf34996fa454ffdbd763d7e1 100644 (file)
@@ -906,12 +906,11 @@ static int start_streaming(struct vb2_queue *vq, unsigned int count)
 }
 
 /* abort streaming and wait for last buffer */
-static int stop_streaming(struct vb2_queue *vq)
+static void stop_streaming(struct vb2_queue *vq)
 {
        struct vivi_dev *dev = vb2_get_drv_priv(vq);
        dprintk(dev, 1, "%s\n", __func__);
        vivi_stop_generating(dev);
-       return 0;
 }
 
 static void vivi_lock(struct vb2_queue *vq)