diff mbox

[media] s5p-fimc: clean up duplicate INIT_LIST_HEAD

Message ID 1293687307-26204-1-git-send-email-sungchun.kang@samsung.com (mailing list archive)
State RFC
Headers show

Commit Message

Sungchun Kang Dec. 30, 2010, 5:35 a.m. UTC
None
diff mbox

Patch

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;