summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-12-05 18:31:36 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-12-10 01:42:51 +0900
commit82ff6c392f9cf3df14b2636b09798b1f939e2e0b (patch)
tree794a19ffbb47948adaa837ab219294834d5b69b8
parent361a879902a3cbdb692149a1ac580e3199e771ba (diff)
downloadu-boot-82ff6c392f9cf3df14b2636b09798b1f939e2e0b.tar.gz
u-boot-82ff6c392f9cf3df14b2636b09798b1f939e2e0b.tar.xz
u-boot-82ff6c392f9cf3df14b2636b09798b1f939e2e0b.zip
ARM: uniphier: remove unneeded initializer
This will be used to store the return value of readl(). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r--arch/arm/mach-uniphier/memconf/memconf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-uniphier/memconf/memconf.c b/arch/arm/mach-uniphier/memconf/memconf.c
index 3d4b50456b..e607ac9c3b 100644
--- a/arch/arm/mach-uniphier/memconf/memconf.c
+++ b/arch/arm/mach-uniphier/memconf/memconf.c
@@ -1,5 +1,7 @@
/*
- * Copyright (C) 2011-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2011-2015 Panasonic Corporation
+ * Copyright (C) 2016 Socionext Inc.
+ * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
@@ -14,7 +16,7 @@
int memconf_init(const struct uniphier_board_data *bd)
{
- u32 tmp = 0;
+ u32 tmp;
unsigned long size_per_word;
tmp = readl(SG_MEMCONF);