Because active_q and pending_q are initialized at start_streaming,
it seems to unnecessary that in fimc_probe.

Reviewed-by Jonghun Han <jonghun....@samsung.com>
Signed-off-by: Sungchun Kang <sungchun.k...@samsung.com>
---
This patch is depended on:
http://git.infradead.org/users/kmpark/linux-2.6-samsung/shortlog/refs/heads/vb2-mfc-fimc

 drivers/media/video/s5p-fimc/fimc-capture.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/media/video/s5p-fimc/fimc-capture.c 
b/drivers/media/video/s5p-fimc/fimc-capture.c
index 4e4441f..877ebef 100644
--- a/drivers/media/video/s5p-fimc/fimc-capture.c
+++ b/drivers/media/video/s5p-fimc/fimc-capture.c
@@ -861,8 +861,6 @@ int fimc_register_capture_device(struct fimc_dev *fimc)
        /* Default color format for image sensor */
        vid_cap->fmt.code = V4L2_MBUS_FMT_YUYV8_2X8;
 
-       INIT_LIST_HEAD(&vid_cap->pending_buf_q);
-       INIT_LIST_HEAD(&vid_cap->active_buf_q);
        spin_lock_init(&ctx->slock);
        vid_cap->ctx = ctx;
 
-- 
1.6.2.5

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to