From patchwork Thu Dec 30 05:35:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sungchun Kang X-Patchwork-Id: 440361 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBUMBEmI000490 for ; Thu, 30 Dec 2010 22:12:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751392Ab0L3FyV (ORCPT ); Thu, 30 Dec 2010 00:54:21 -0500 Received: from ganesha.gnumonks.org ([213.95.27.120]:33926 "EHLO ganesha.gnumonks.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750838Ab0L3FyV (ORCPT ); Thu, 30 Dec 2010 00:54:21 -0500 Received: from uucp by ganesha.gnumonks.org with local-bsmtp (Exim 4.69) (envelope-from ) id 1PYBSs-000305-CC; Thu, 30 Dec 2010 06:54:18 +0100 Received: from [12.23.102.184] (helo=localhost.localdomain) by jackpot.kr.gnumonks.org with esmtp (Exim 4.69) (envelope-from ) id 1PYASX-0003Pl-3U; Thu, 30 Dec 2010 13:49:53 +0900 From: Sungchun Kang To: linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: s.nawrocki@samsung.com, kgene.kim@samsung.com, Sungchun Kang Subject: [PATCH] [media] s5p-fimc: clean up duplicate INIT_LIST_HEAD Date: Thu, 30 Dec 2010 14:35:07 +0900 Message-Id: <1293687307-26204-1-git-send-email-sungchun.kang@samsung.com> X-Mailer: git-send-email 1.6.2.5 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 30 Dec 2010 22:12:13 +0000 (UTC) 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;