From: Chen Gang <gang.chen@asianux.com>
To: Tony Lindgren <tony@atomide.com>
Cc: linux-omap@vger.kernel.org,
Russell King - ARM Linux <linux@arm.linux.org.uk>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: [PATCH] ARM: OMAP2: remove useless variable 'ret'
Date: Wed, 21 Aug 2013 16:31:02 +0800 [thread overview]
Message-ID: <52147AC6.9040300@asianux.com> (raw)
In-Reply-To: <521479B4.8030604@asianux.com>
Remove useless variable 'ret', the related warning:
arch/arm/mach-omap2/board-am3517crane.c:113:6: warning: unused variable ‘ret’ [-Wunused-variable]
Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
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)
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);
--
1.7.7.6
WARNING: multiple messages have this Message-ID (diff)
From: gang.chen@asianux.com (Chen Gang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: OMAP2: remove useless variable 'ret'
Date: Wed, 21 Aug 2013 16:31:02 +0800 [thread overview]
Message-ID: <52147AC6.9040300@asianux.com> (raw)
In-Reply-To: <521479B4.8030604@asianux.com>
Remove useless variable 'ret', the related warning:
arch/arm/mach-omap2/board-am3517crane.c:113:6: warning: unused variable ?ret? [-Wunused-variable]
Signed-off-by: Chen Gang <gang.chen@asianux.com>
---
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)
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);
--
1.7.7.6
next prev parent reply other threads:[~2013-08-21 8:31 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-21 8:26 [PATCH] ARM: OMAP2: add type cast from 'unsigned' to 'signed' Chen Gang
2013-08-21 8:26 ` Chen Gang
2013-08-21 8:31 ` Chen Gang [this message]
2013-08-21 8:31 ` [PATCH] ARM: OMAP2: remove useless variable 'ret' Chen Gang
2013-08-22 7:17 ` Tony Lindgren
2013-08-22 7:17 ` Tony Lindgren
2013-08-22 7:24 ` Chen Gang
2013-08-22 7:24 ` Chen Gang
[not found] ` <52147E12.4060401@asianux.com>
2013-08-22 7:45 ` [Suggestion] ARM: allmodconfig: about cross compiling failure under i386 ubuntu Tony Lindgren
2013-08-22 7:45 ` Tony Lindgren
2013-08-22 9:19 ` Chen Gang
2013-08-22 9:19 ` Chen Gang
2013-08-22 10:15 ` Chen Gang
2013-08-22 10:15 ` Chen Gang
2013-08-22 10:22 ` Russell King - ARM Linux
2013-08-22 10:22 ` Russell King - ARM Linux
2013-08-23 1:47 ` Chen Gang
2013-08-23 1:47 ` Chen Gang
2013-08-23 2:06 ` Chen Gang
2013-08-23 2:06 ` Chen Gang
2013-08-23 3:04 ` [PATCH] ARM: VExpress: Kconfig: avoid arm6 compatible for ARCH_VEXPRESS Chen Gang
2013-08-23 3:04 ` Chen Gang
2013-08-23 3:12 ` Chen Gang
2013-08-23 3:12 ` Chen Gang
2013-08-23 5:51 ` Tony Lindgren
2013-08-23 5:51 ` Tony Lindgren
2013-08-23 7:02 ` Chen Gang
2013-08-23 7:02 ` Chen Gang
2013-08-23 7:15 ` Chen Gang
2013-08-23 7:15 ` Chen Gang
2013-08-23 8:02 ` [PATCH v2] ARM: VExpress: Makefile: add armv7 flags for inline assmembly code compiling Chen Gang
2013-08-23 8:02 ` Chen Gang
2013-08-23 8:12 ` Chen Gang
2013-08-23 8:12 ` Chen Gang
2013-09-23 1:50 ` [PATCH v3] " Chen Gang
2013-09-23 1:50 ` Chen Gang
2013-08-22 7:14 ` [PATCH] ARM: OMAP2: add type cast from 'unsigned' to 'signed' Tony Lindgren
2013-08-22 7:14 ` Tony Lindgren
2013-08-22 7:43 ` Chen Gang
2013-08-22 7:43 ` Chen Gang
2013-08-22 7:47 ` [PATCH v2] ARM: OMAP2: use 'int' instead of 'unsigned' for variable 'gpmc_irq_start' Chen Gang
2013-08-22 7:47 ` Chen Gang
2013-08-22 7:57 ` Tony Lindgren
2013-08-22 7:57 ` Tony Lindgren
2013-08-22 8:01 ` Chen Gang
2013-08-22 8:01 ` Chen Gang
2013-08-22 8:32 ` Tony Lindgren
2013-08-22 8:32 ` Tony Lindgren
2013-08-22 8:59 ` Chen Gang F T
2013-08-22 8:59 ` Chen Gang F T
2013-08-23 5:48 ` Tony Lindgren
2013-08-23 5:48 ` Tony Lindgren
2013-08-23 6:14 ` Chen Gang
2013-08-23 6:14 ` Chen Gang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52147AC6.9040300@asianux.com \
--to=gang.chen@asianux.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.