From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen Gang Subject: Re: [PATCH] ARM: OMAP2: remove useless variable 'ret' Date: Thu, 22 Aug 2013 15:24:01 +0800 Message-ID: <5215BC91.4080801@asianux.com> References: <521479B4.8030604@asianux.com> <52147AC6.9040300@asianux.com> <20130822071702.GR7656@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from intranet.asianux.com ([58.214.24.6]:13933 "EHLO intranet.asianux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753195Ab3HVHZC (ORCPT ); Thu, 22 Aug 2013 03:25:02 -0400 In-Reply-To: <20130822071702.GR7656@atomide.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Tony Lindgren Cc: Russell King - ARM Linux , linux-omap@vger.kernel.org, "linux-arm-kernel@lists.infradead.org" On 08/22/2013 03:17 PM, Tony Lindgren wrote: > * Chen Gang [130821 01:39]: >> Remove useless variable 'ret', the related warning: >> >> arch/arm/mach-omap2/board-am3517crane.c:113:6: warning: unused var= iable =E2=80=98ret=E2=80=99 [-Wunused-variable] >=20 > Thanks applying into omap-for-v3.12/fixes-non-critical. >=20 Thank you too. > Regards, >=20 > Tony=20 > =20 >> Signed-off-by: Chen Gang >> --- >> arch/arm/mach-omap2/board-am3517crane.c | 2 -- >> 1 files changed, 0 insertions(+), 2 deletions(-) >> >> diff --git a/arch/arm/mach-omap2/board-am3517crane.c b/arch/arm/mach= -omap2/board-am3517crane.c >> index fc53911..0d499a1 100644 >> --- a/arch/arm/mach-omap2/board-am3517crane.c >> +++ b/arch/arm/mach-omap2/board-am3517crane.c >> @@ -110,8 +110,6 @@ static void __init am3517_crane_i2c_init(void) >> =20 >> static void __init am3517_crane_init(void) >> { >> - int ret; >> - >> omap3_mux_init(board_mux, OMAP_PACKAGE_CBB); >> omap_serial_init(); >> omap_sdrc_init(NULL, NULL); >> --=20 >> 1.7.7.6 >=20 >=20 --=20 Chen Gang -- To unsubscribe from this list: send the line "unsubscribe linux-omap" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html