aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2011-05-23 08:15:17 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-06-11 08:45:35 -0400
commitdbdd0dfb89ca45895f2063db8b31085cf32aa81d (patch)
tree1f2ca446a01c10e7fae17bab830d128414242f7b /drivers/media
parenta629f86b4aa1669ddf2afaa3ded66d5a59d60b77 (diff)
[media] s5p-fimc: Remove empty buf_init operation
The buf_init buffer queue operation is optional and buffer_init() does nothing, remove it. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/s5p-fimc/fimc-capture.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/media/video/s5p-fimc/fimc-capture.c b/drivers/media/video/s5p-fimc/fimc-capture.c
index 44fc26f5b05a..69016436fffc 100644
--- a/drivers/media/video/s5p-fimc/fimc-capture.c
+++ b/drivers/media/video/s5p-fimc/fimc-capture.c
@@ -286,12 +286,6 @@ static int queue_setup(struct vb2_queue *vq, unsigned int *num_buffers,
286 return 0; 286 return 0;
287} 287}
288 288
289static int buffer_init(struct vb2_buffer *vb)
290{
291 /* TODO: */
292 return 0;
293}
294
295static int buffer_prepare(struct vb2_buffer *vb) 289static int buffer_prepare(struct vb2_buffer *vb)
296{ 290{
297 struct vb2_queue *vq = vb->vb2_queue; 291 struct vb2_queue *vq = vb->vb2_queue;
@@ -371,7 +365,6 @@ static struct vb2_ops fimc_capture_qops = {
371 .queue_setup = queue_setup, 365 .queue_setup = queue_setup,
372 .buf_prepare = buffer_prepare, 366 .buf_prepare = buffer_prepare,
373 .buf_queue = buffer_queue, 367 .buf_queue = buffer_queue,
374 .buf_init = buffer_init,
375 .wait_prepare = fimc_unlock, 368 .wait_prepare = fimc_unlock,
376 .wait_finish = fimc_lock, 369 .wait_finish = fimc_lock,
377 .start_streaming = start_streaming, 370 .start_streaming = start_streaming,