From patchwork Wed Sep 7 22:25:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 9320161 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 282B760869 for ; Wed, 7 Sep 2016 22:24:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 058C51FF29 for ; Wed, 7 Sep 2016 22:24:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED4282942F; Wed, 7 Sep 2016 22:24:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1CD601FF29 for ; Wed, 7 Sep 2016 22:24:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752206AbcIGWY4 (ORCPT ); Wed, 7 Sep 2016 18:24:56 -0400 Received: from galahad.ideasonboard.com ([185.26.127.97]:54026 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752159AbcIGWYy (ORCPT ); Wed, 7 Sep 2016 18:24:54 -0400 Received: from avalon.bb.dnainternet.fi (85-23-193-79.bb.dnainternet.fi [85.23.193.79]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id 754F5201E3; Thu, 8 Sep 2016 00:24:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1473287057; bh=/Tfn8AcWh5MDMxwEvITpxZK9mWtec0QH82t6MTBR+Fs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aQOWuMWvl/KBSn9WOA+86GejxcX5uR85SYvjMRhjnJL3WBHJLcsLJy/rUxGFvy6/c kX2nzYEiGzvkj1QkSDtwOU+sGdoWFyEcYKgbqLqkn+kkXvQMkHZVRGWAIqn3nlf78B jWWGyhXwxT8kLmimt4QLI2i+CnxxqhDABpBYBUAI= From: Laurent Pinchart To: linux-media@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, Kieran Bingham Subject: [PATCH v3 07/10] v4l: fdp1: Remove unused struct fdp1_v4l2_buffer Date: Thu, 8 Sep 2016 01:25:07 +0300 Message-Id: <1473287110-780-8-git-send-email-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1473287110-780-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> References: <1473287110-780-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The structure is not used, remove it. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- drivers/media/platform/rcar_fdp1.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/drivers/media/platform/rcar_fdp1.c b/drivers/media/platform/rcar_fdp1.c index bbeacf1527b5..fdab41165f5a 100644 --- a/drivers/media/platform/rcar_fdp1.c +++ b/drivers/media/platform/rcar_fdp1.c @@ -514,19 +514,6 @@ enum fdp1_deint_mode { mode == FDP1_PREVFIELD) /* - * fdp1_v4l2_buffer: Track v4l2_buffers with a reference count - * - * As buffers come in, they may be used for more than one field. - * It then becomes necessary to track the usage of these buffers, - * and only release when the last job has completed using this - * vb buffer. - */ -struct fdp1_v4l2_buffer { - struct vb2_v4l2_buffer vb; - struct list_head list; -}; - -/* * FDP1 operates on potentially 3 fields, which are tracked * from the VB buffers using this context structure. * Will always be a field or a full frame, never two fields.