__vb2_queue_free function doesn't really return anything useful. This patch
removes support for the return value to simplify the code.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  * and return the queue to an uninitialized state. Might be called even if the
  * queue has already been freed.
  */
-static int __vb2_queue_free(struct vb2_queue *q)
+static void __vb2_queue_free(struct vb2_queue *q)
 {
        unsigned int buffer;
 
 
        q->num_buffers = 0;
        q->memory = 0;
-
-       return 0;
 }
 
 /**
                        return -EBUSY;
                }
 
-               ret = __vb2_queue_free(q);
-               if (ret != 0)
-                       return ret;
+               __vb2_queue_free(q);
 
                /*
                 * In case of REQBUFS(0) return immediately without calling