aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Gang <gang.chen@asianux.com>2013-08-21 16:31:02 +0800
committerTony Lindgren <tony@atomide.com>2013-08-22 00:15:17 -0700
commita04feb03419f62b7796feb3d1ae387e45feaeaf0 (patch)
treeecce59f1877aff85bd136ba8200e45264c9f1857
parentARM: OMAP: dma: fix error return code in omap_system_dma_probe() (diff)
downloadlinux-dev-a04feb03419f62b7796feb3d1ae387e45feaeaf0.tar.xz
linux-dev-a04feb03419f62b7796feb3d1ae387e45feaeaf0.zip
ARM: OMAP2: remove useless variable 'ret'
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> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/mach-omap2/board-am3517crane.c2
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 fc53911d0d13..0d499a1878f6 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);