From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 2/9] ARM: MXS: Remove unused variables
Date: Thu, 5 Jun 2014 10:23:37 +0200 [thread overview]
Message-ID: <1401956624-31802-3-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1401956624-31802-1-git-send-email-s.hauer@pengutronix.de>
Fixes:
arch/arm/boards/crystalfontz-cfa10036/cfa10036.c: In function 'cfa10036_devices_init':
arch/arm/boards/crystalfontz-cfa10036/cfa10036.c:119:9: warning: unused variable 'ret' [-Wunused-variable]
arch/arm/boards/chumby_falconwing/falconwing.c: In function 'falconwing_devices_init':
arch/arm/boards/chumby_falconwing/falconwing.c:287:9: warning: unused variable 'rc' [-Wunused-variable]
arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c: In function 'imx23_olinuxino_devices_init':
arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c:118:9: warning: unused variable 'rc' [-Wunused-variable]
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/boards/chumby_falconwing/falconwing.c | 2 +-
arch/arm/boards/crystalfontz-cfa10036/cfa10036.c | 2 +-
arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c | 3 +--
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boards/chumby_falconwing/falconwing.c b/arch/arm/boards/chumby_falconwing/falconwing.c
index 669de95..77581f6 100644
--- a/arch/arm/boards/chumby_falconwing/falconwing.c
+++ b/arch/arm/boards/chumby_falconwing/falconwing.c
@@ -284,7 +284,7 @@ static void falconwing_init_usb(void)
static int falconwing_devices_init(void)
{
- int i, rc;
+ int i;
/* initizalize gpios */
for (i = 0; i < ARRAY_SIZE(pad_setup); i++)
diff --git a/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c b/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c
index 3374338..e6ebe82 100644
--- a/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c
+++ b/arch/arm/boards/crystalfontz-cfa10036/cfa10036.c
@@ -116,7 +116,7 @@ mem_initcall(cfa10036_mem_init);
static int cfa10036_devices_init(void)
{
- int i, ret;
+ int i;
/* initizalize muxing */
for (i = 0; i < ARRAY_SIZE(cfa10036_pads); i++)
diff --git a/arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c b/arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c
index 3d46604..6346c25 100644
--- a/arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c
+++ b/arch/arm/boards/imx233-olinuxino/imx23-olinuxino.c
@@ -115,8 +115,7 @@ static void olinuxino_init_usb(void)
static int imx23_olinuxino_devices_init(void)
{
- int i, rc;
-
+ int i;
/* initizalize gpios */
for (i = 0; i < ARRAY_SIZE(pad_setup); i++)
--
2.0.0.rc2
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2014-06-05 8:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-05 8:23 Fix Compiler warnings Sascha Hauer
2014-06-05 8:23 ` [PATCH 1/9] fix format specifiers Sascha Hauer
2014-06-05 8:23 ` Sascha Hauer [this message]
2014-06-05 8:23 ` [PATCH 3/9] ARM: friendlyarm_mini2440: refresh defconfig Sascha Hauer
2014-06-05 8:23 ` [PATCH 4/9] mips: dlink-dir-320: " Sascha Hauer
2014-06-05 9:42 ` Antony Pavlov
2014-06-05 10:16 ` Sascha Hauer
2014-06-05 8:23 ` [PATCH 5/9] mips: ar9331: Add missing #address-cells/#size-cells properties Sascha Hauer
2014-06-05 8:23 ` [PATCH 6/9] PPC: FSL DDR: Fix compiler warning Sascha Hauer
2014-06-05 8:23 ` [PATCH 7/9] commands: drvinfo: Make locally used function static Sascha Hauer
2014-06-05 8:23 ` [PATCH 8/9] gui: IMAGE_RENDERER does not depend on VIDEO Sascha Hauer
2014-06-05 8:23 ` [PATCH 9/9] mips: Add builtin dtb to dtb-y Sascha Hauer
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=1401956624-31802-3-git-send-email-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox