From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE899C47096 for ; Sun, 6 Jun 2021 14:27:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 96ACE613C7 for ; Sun, 6 Jun 2021 14:27:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230142AbhFFO3O (ORCPT ); Sun, 6 Jun 2021 10:29:14 -0400 Received: from mail03.asahi-net.or.jp ([202.224.55.15]:44877 "EHLO mail03.asahi-net.or.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230011AbhFFO3M (ORCPT ); Sun, 6 Jun 2021 10:29:12 -0400 Received: from sakura.ysato.name (ik1-413-38519.vs.sakura.ne.jp [153.127.30.23]) (Authenticated sender: PQ4Y-STU) by mail03.asahi-net.or.jp (Postfix) with ESMTPA id 5740F3AF34; Sun, 6 Jun 2021 23:27:20 +0900 (JST) Received: from localhost.ysato.ml (ZM005235.ppp.dion.ne.jp [222.8.5.235]) by sakura.ysato.name (Postfix) with ESMTPSA id B5A491C03C0; Sun, 6 Jun 2021 23:27:19 +0900 (JST) Date: Sun, 06 Jun 2021 23:27:14 +0900 Message-ID: From: Yoshinori Sato To: Souptick Joarder Cc: akpm@linux-foundation.org, rppt@kernel.org, sboyd@kernel.org, geert+renesas@glider.be, uclinux-h8-devel@lists.sourceforge.jp, linux-kernel@vger.kernel.org, kernel test robot Subject: Re: [PATCH] h8300: Remove unused variable In-Reply-To: <20210602185431.11416-1-jrdr.linux@gmail.com> References: <20210602185431.11416-1-jrdr.linux@gmail.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (arm-unknown-linux-androideabi) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 03 Jun 2021 03:54:31 +0900, Souptick Joarder wrote: > > Kernel test robot throws below warning -> > > >> arch/h8300/kernel/setup.c:72:26: > warning: Unused variable: region [unusedVariable] > struct memblock_region *region; > > Fixed it by removing unused variable. > > Reported-by: kernel test robot > Signed-off-by: Souptick Joarder > --- > arch/h8300/kernel/setup.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/arch/h8300/kernel/setup.c b/arch/h8300/kernel/setup.c > index 15280af7251c..5745a763dc78 100644 > --- a/arch/h8300/kernel/setup.c > +++ b/arch/h8300/kernel/setup.c > @@ -69,8 +69,6 @@ void __init h8300_fdt_init(void *fdt, char *bootargs) > > static void __init bootmem_init(void) > { > - struct memblock_region *region; > - > memory_end = memory_start = 0; > > /* Find main memory where is the kernel */ > -- > 2.25.1 > Acked-by: Yoshinori Sato -- Yoshinori Sato