From patchwork Wed Oct 12 15:15:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9373421 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 EBACC607FD for ; Wed, 12 Oct 2016 15:16:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DCA412944A for ; Wed, 12 Oct 2016 15:16:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D1589295C5; Wed, 12 Oct 2016 15:16:22 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 7BED62944A for ; Wed, 12 Oct 2016 15:16:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933828AbcJLPP4 (ORCPT ); Wed, 12 Oct 2016 11:15:56 -0400 Received: from mout.web.de ([212.227.15.14]:49215 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755624AbcJLPPt (ORCPT ); Wed, 12 Oct 2016 11:15:49 -0400 Received: from [192.168.1.2] ([78.49.9.22]) by smtp.web.de (mrweb002) with ESMTPSA (Nemesis) id 0M1Fua-1b1QFV1iPI-00t9oZ; Wed, 12 Oct 2016 17:15:37 +0200 Subject: [PATCH 34/34] [media] DaVinci-VPIF-Display: Delete an unnecessary variable initialisation in process_progressive_mode() To: linux-media@vger.kernel.org, Hans Verkuil , "Lad, Prabhakar" , Mauro Carvalho Chehab References: Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: SF Markus Elfring Message-ID: <7e33239a-d1f1-3706-532c-b46e705b184f@users.sourceforge.net> Date: Wed, 12 Oct 2016 17:15:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: X-Provags-ID: V03:K0:1qUgxpn3x+4DoD0f91RMuCke1Q+lnXc3VMzSRTQ049PNA8UOn9V 8tEKJCvgUkA2TrddXOnYQIhupIyTwP0oM1Y4Qgowp2iI0bxH5RDKbg62carSUIFQv23xBde iyev0Y31tEbPeCEW+ASX4C4hvssQMcLClqleq2QbWnMJnYhEmZmy1axRHvrlJZtWFIJRwi0 /SIzJ5I7wpkLbC+15lFQA== X-UI-Out-Filterresults: notjunk:1; V01:K0:TxQtwmcAHZo=:J1i4TQrUjE1N8hQkUWSRrV k7l0SyfGyZGEJ3ccQkPfgk5qF2cQT5Bo/PNoeKGogSYiL5xFgrj/AEX5smblQitSsZSktZwc1 zD9NsQiLR8VDQQX5k8DoaaMxF7msi++aFt/s0RtlVhj+wrLtpl9PRExi2Gem1xHLHkH8wdBCW kOZskUepPacjaQhvVs329SE8s3PWNPCipBbHzVEJW2UYUTTLnmxLCz/5t/rAlP9gbpnAa4U7a ng0mqCjM9SetapkBFDDxlxKCX6xZK2NX4BdPfnH2hc1XulQMdIAkGMRSTUpQLmLDWj7rcfrLs CSn76+8VOgyyAJ8wZr/6wGDip4taDvPpGHX4XGwYG6rYi519BV67RYhpMXQ21aDdax2HXFAzT CBXT2N2LyzQ+Rf+tGA0+3uXPyP/kmqP1VM5DttRXFNF/qgclgr8e/T0Czd7wyoiJcM6Vv3k5M i4dQA7tkq2Z4iqmQjti1vq4b2Bvg1FFKBBkMU3XzaR1mmiRrAW4/st6JuoReQK4SdHo8JMJeW cXdzxNCwzk4N3GZXJjAGoFR2+wTcobASPrHa7xcYshOIGVjmM3m24ftZzyshfM2kstTRonfia I3VC+/QDgO7o9vrR9P3inlsNP6Qcc9/Th8FEoOfOJKzM7Nhmb4VArlBMFm1RtlmpMqH2cS+bs UuXKMj8w8qN+AQcaf5iL70CAlieZGZuYHrk1j6GFqVyhkzhdUCelp7cEAlnp3rfCzdJoOCJUV ButfQjSy5gbNasNyBb7ILKKtIT+vUC+S0z1gQnnzVr7boHYRdOPivYYk0t6tGC/f+nnGTbBMh YcniOK6 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Wed, 12 Oct 2016 15:45:03 +0200 The local variable "addr" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/media/platform/davinci/vpif_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/davinci/vpif_display.c b/drivers/media/platform/davinci/vpif_display.c index cd44990..a48a5111 100644 --- a/drivers/media/platform/davinci/vpif_display.c +++ b/drivers/media/platform/davinci/vpif_display.c @@ -301,7 +301,7 @@ static struct vb2_ops video_qops = { static void process_progressive_mode(struct common_obj *common) { - unsigned long addr = 0; + unsigned long addr; spin_lock(&common->irqlock); /* Get the next buffer from buffer queue */