{"id":810228,"url":"http://patchwork.ozlabs.org/api/1.2/patches/810228/?format=json","web_url":"http://patchwork.ozlabs.org/project/linuxppc-dev/patch/96042828-9707-8af9-664a-5c71818dd817@users.sourceforge.net/","project":{"id":2,"url":"http://patchwork.ozlabs.org/api/1.2/projects/2/?format=json","name":"Linux PPC development","link_name":"linuxppc-dev","list_id":"linuxppc-dev.lists.ozlabs.org","list_email":"linuxppc-dev@lists.ozlabs.org","web_url":"https://github.com/linuxppc/wiki/wiki","scm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git","webscm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/","list_archive_url":"https://lore.kernel.org/linuxppc-dev/","list_archive_url_format":"https://lore.kernel.org/linuxppc-dev/{}/","commit_url_format":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"},"msgid":"<96042828-9707-8af9-664a-5c71818dd817@users.sourceforge.net>","list_archive_url":"https://lore.kernel.org/linuxppc-dev/96042828-9707-8af9-664a-5c71818dd817@users.sourceforge.net/","date":"2017-09-05T17:11:31","name":"[v2] axonram: Delete an unnecessary variable initialisation in axon_ram_probe()","commit_ref":"a7cd4586210c69c19aef26f4f83d3e492040de1c","pull_url":null,"state":"accepted","archived":false,"hash":"b398b154afcf5614b2fb72c12ea1f0478d3f94e5","submitter":{"id":65077,"url":"http://patchwork.ozlabs.org/api/1.2/people/65077/?format=json","name":"SF Markus Elfring","email":"elfring@users.sourceforge.net"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linuxppc-dev/patch/96042828-9707-8af9-664a-5c71818dd817@users.sourceforge.net/mbox/","series":[{"id":1614,"url":"http://patchwork.ozlabs.org/api/1.2/series/1614/?format=json","web_url":"http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=1614","date":"2017-09-05T17:11:31","name":"[v2] axonram: Delete an unnecessary variable initialisation in axon_ram_probe()","version":2,"mbox":"http://patchwork.ozlabs.org/series/1614/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/810228/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/810228/checks/","tags":{},"related":[],"headers":{"Return-Path":"<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>","X-Original-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xmtlH2nzpz9sNq\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed,  6 Sep 2017 03:20:27 +1000 (AEST)","from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xmtlH1pX8zDrJd\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed,  6 Sep 2017 03:20:27 +1000 (AEST)","from mout.web.de (mout.web.de [212.227.17.11])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xmthg1nMlzDqYY\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tWed,  6 Sep 2017 03:18:10 +1000 (AEST)","from [192.168.1.2] ([85.182.50.20]) by smtp.web.de (mrweb102\n\t[213.165.67.124]) with ESMTPSA (Nemesis) id 0MVcdn-1dyqYg2cKV-00Z05N;\n\tTue, 05 Sep 2017 19:11:53 +0200"],"Authentication-Results":"ozlabs.org; spf=pass (mailfrom)\n\tsmtp.mailfrom=users.sourceforge.net (client-ip=212.227.17.11;\n\thelo=mout.web.de; \n\tenvelope-from=elfring@users.sourceforge.net; receiver=<UNKNOWN>)","Subject":"[PATCH v2] axonram: Delete an unnecessary variable initialisation in\n\taxon_ram_probe()","To":"kbuild test robot <lkp@intel.com>, linuxppc-dev@lists.ozlabs.org,\n\tBenjamin Herrenschmidt <benh@kernel.crashing.org>,\n\tJan Kara <jack@suse.cz>, \n\tJens Axboe <axboe@fb.com>, Dan Williams <dan.j.williams@intel.com>,\n\tMichael Ellerman <mpe@ellerman.id.au>,\n\tPaul Mackerras <paulus@samba.org>, \n\tTyrel Datwyler <tyreld@linux.vnet.ibm.com>","References":"<201708042137.1QRfZLa9%fengguang.wu@intel.com>","From":"SF Markus Elfring <elfring@users.sourceforge.net>","Message-ID":"<96042828-9707-8af9-664a-5c71818dd817@users.sourceforge.net>","Date":"Tue, 5 Sep 2017 19:11:31 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<201708042137.1QRfZLa9%fengguang.wu@intel.com>","Content-Type":"text/plain; charset=windows-1252","Content-Language":"en-GB","Content-Transfer-Encoding":"7bit","X-Provags-ID":"V03:K0:yS8RAhds7V+SOXibtPlaAB6Pyczg9YpA9gt/FIUrEMbMAL7Iiqp\n\txXEgH9QSWZRfhMhJ+WAR0KRSeCtKJQropSdXoU4/v1EN2vt72fhZM8K1dV68dp0nzxzBzJF\n\t1kCJtcUzLWiNvE62ksppk1YoCJ6GBsRUs6zgwWQIUYRnX7XqFMCk6+iW9dOsTInDr8MQyf7\n\teN6NZiHCM5GfQKvnqmmlw==","X-UI-Out-Filterresults":"notjunk:1; V01:K0:mRXkfxStJ5c=:AXA1yL2CRe0B483QD5kn75\n\tCzmt2B5yOuxEv1bH3GPdqRjN1AJDvkkV08x0V6kUqYlhuyOriAamQZ3G38+ebTkvkuPYidiNN\n\tDQXQnHFoUd2q9bj0VbJZraA5DQaoaIKj+GAa+Iy2V38tx8eAt6oBX5YSJEvdWPihWQyvEqCdE\n\tx2gFLp+QM/TbyPoEQYErUN6peggg+5Otyu+LiMp8FTkaVZirkNTgVEBmKl3pDjhceE0/+6l4R\n\tBUUqN5362+YpvUDAwFfup16Ff5fr5qXLv2oiRvppgccTMAe27nz9acCs3G4dKDpBdZ4rx1lG+\n\tt6vCIbg/6jJDnYeLRy1L5kQn9NUdmLJ3NqP4j/KCVKs6D53ip+5dvkL/PBZpE00xiXhc2QPA4\n\tzxgH//VXivFN9luZg0E59/Dy2CMchUchT6V5HDThxsIFwOkgv1pOswjxe6f2K10DGJZHHiA+a\n\t94C6luD8SNX5q0GmjUUTwSsEHJftG/7BZ5OK5ew75jYTcurXSLKybmGHTQlm4dtJu4L3UyZU2\n\ti3TmMYLYwt5sesbGmtBrCeXOsG3Y/r0wwYHozen3LGESQhwfPTuctA7KmkU+ZxRhWQssU+vxG\n\tcQUSuImMR4ihlzUtQVbzirV6eSpay74KGV+CV+G+G5vCkTEWy8kdhqpHi9POOCuSashOxGeA/\n\tDQChbcmiH2xCiHyR0JMfkeEEPOlAE3GUYDOdyes6t7uYT0VVQRhB/pTXCj3fdifOtaHKG39CT\n\tJ+5njrEOYjop9pKERoQqTs/BmeSnIO4Zmv/1D2XWk4SxpZYDxpx1lqHkn19u4IFtkenY+v/97\n\tNPhsD7OK41yCPRoELpQUHxi8u7358lKOr0lSS61VHxfHg29vrk=","X-BeenThere":"linuxppc-dev@lists.ozlabs.org","X-Mailman-Version":"2.1.23","Precedence":"list","List-Id":"Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>","List-Unsubscribe":"<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>","List-Archive":"<http://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>","List-Subscribe":"<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>","Cc":"kernel-janitors@vger.kernel.org, kbuild-all@01.org,\n\tLKML <linux-kernel@vger.kernel.org>","Errors-To":"linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org","Sender":"\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"},"content":"From: Markus Elfring <elfring@users.sourceforge.net>\nDate: Tue, 5 Sep 2017 18:47:02 +0200\n\nThe local variable \"rc\" will eventually be set only to an error code.\nThus omit the explicit initialisation at the beginning.\n\nSigned-off-by: Markus Elfring <elfring@users.sourceforge.net>\n---\n\nv2:\nThree update steps were integrated for this software module on 2017-09-01.\nThus improve another source code place.\n\n arch/powerpc/sysdev/axonram.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/arch/powerpc/sysdev/axonram.c b/arch/powerpc/sysdev/axonram.c\nindex c60e84e4558d..1b307c80b401 100644\n--- a/arch/powerpc/sysdev/axonram.c\n+++ b/arch/powerpc/sysdev/axonram.c\n@@ -184,7 +184,7 @@ static int axon_ram_probe(struct platform_device *device)\n \tstatic int axon_ram_bank_id = -1;\n \tstruct axon_ram_bank *bank;\n \tstruct resource resource;\n-\tint rc = 0;\n+\tint rc;\n \n \taxon_ram_bank_id++;\n \n","prefixes":["v2"]}