From patchwork Thu Sep 22 08:34:20 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: 9345463 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 AF5D860757 for ; Thu, 22 Sep 2016 14:57:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A10EF2AAF3 for ; Thu, 22 Sep 2016 14:57:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 95A252AB45; Thu, 22 Sep 2016 14:57:30 +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=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D30AB2AAF3 for ; Thu, 22 Sep 2016 14:57:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B8A8B6E89C; Thu, 22 Sep 2016 14:57:27 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.web.de (mout.web.de [212.227.15.14]) by gabe.freedesktop.org (Postfix) with ESMTPS id 809276E89C for ; Thu, 22 Sep 2016 14:57:25 +0000 (UTC) Received: from [192.168.1.2] ([77.182.99.72]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0Le4fk-1bCZmt2cwe-00prMm; Thu, 22 Sep 2016 10:34:23 +0200 Subject: [PATCH 4/4] GPU-DRM-TILCDC: Delete unnecessary variable initialisations in tilcdc_convert_slave_node() To: dri-devel@lists.freedesktop.org, David Airlie , Jyri Sarha , Tomi Valkeinen References: <566ABCD9.1060404@users.sourceforge.net> <2f3f7ad7-16a0-1dfb-d073-0d993cd767ee@users.sourceforge.net> From: SF Markus Elfring Message-ID: Date: Thu, 22 Sep 2016 10:34:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <2f3f7ad7-16a0-1dfb-d073-0d993cd767ee@users.sourceforge.net> X-Provags-ID: V03:K0:cNz2RbPkPJHM83QQWPy8ptdv4RP1WVRVmUDhlEYYEW7uXIYITTN pwhk4WXqHaZsNLsn+5xRn0dGZSgENtea2Qg4SJTVxGvXgoxpe84M4q2nwULTCH7G2Ly501i sKWH+/3AQ2wh18V6fEDzfpnfUPy0VVLM6dk3alW5ltFj3gATB3cH7Vh2mod7uqato6W2OGd IpMKgaAE0aD30O7F4225Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:PdYbNpji7UA=:WImbqRbMBjnxOMCzJjDwjQ /VP5CksXDXYf5KL1J1pcHdB3LkTdkfBlRvUPyP8JeVePXmMalRcGw25AelpbPuwB0nm9V+rQL Z/pczNBF/M9yyuYtlowjNmlNv8iBnZGPlhDmqTNuzbX+nCIBZ231aL4IBA/WRQFseZEfCfrTu ay2kDQzUP1wndtbaDKCOsj4FAywHfBYCdMrcdyLd6t/wJ0ypENzC6ZaL1EcoRN/hpqINaGwHv na12FkHY1BtttIUuHDsIun2a1Ix3DWYOXGvjN3vYOy8rW77pKS7yS5FJlY1URGCa0GPtIgpEO P5dOtOJfmJ6EbczzpxgfyTdRM3k8B7EaAi6Z08UVn+xvGIb6NBa6TyoLoYGQnJJ5B1SyrpSUo iRUhPAULKv3hXBFNZZdxiw3+lgdXuzLnZNrAyZm3fkpQ7zflT47uNP0TiHAdLukts4cFJBMz7 eZXCJTfwCp9LHxIE+aJUVcGnfX9uAqyCb3CZ+NMcn4XEK6GT4eVIlY3sq/CVgGjcMVoxqRzZP 7DSNGguFUiLe8KQAUc5RNG6rGd+bomZthcw6iVByi7B+tgWpYn1VumnzChtHIVYRcRvbo0z+m Duo8Lrf+2T5EfR7ziBvO9etAZrqOfnJ4EPYQlmPK445RRoLWOFAlgDJUeUmUgeE6DIf+ZqjHU 4HPbVy/Yfph1racgfTbTzJAa7z+5z/7WVFhbuQ9Ldu/S73yCcY1MW2I77yGE28u8GRxQdE415 k4NuXutLtXuvAEDMmeFypYeN3s2t7rASjw5NTC+YM1sHJy1vd1T+RiGhBTzC25UwwHCaRmA8R S+LXTQf Cc: Julia Lawall , kernel-janitors@vger.kernel.org, LKML X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Thu, 22 Sep 2016 10:15:36 +0200 Four local variables will be set to an appropriate pointer a bit later. Thus omit the explicit initialisation which became unnecessary with a previous update step. Signed-off-by: Markus Elfring --- drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c b/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c index 6ee5865..ae90728 100644 --- a/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c +++ b/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c @@ -196,8 +196,7 @@ static const char * const tilcdc_slave_props[] __initconst = { void __init tilcdc_convert_slave_node(void) { - struct device_node *slave = NULL, *lcdc = NULL; - struct device_node *i2c = NULL, *fragment = NULL; + struct device_node *slave, *lcdc, *i2c, *fragment; struct device_node *overlay, *encoder; struct property *prop; /* For all memory needed for the overlay tree. This memory can