[U-Boot] [PATCH 1/4] ARM: uniphier: remove unneeded initializer

Masahiro Yamada yamada.masahiro at socionext.com
Mon Dec 5 10:31:36 CET 2016


This will be used to store the return value of readl().

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

 arch/arm/mach-uniphier/memconf/memconf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-uniphier/memconf/memconf.c b/arch/arm/mach-uniphier/memconf/memconf.c
index 3d4b504..2a77f32 100644
--- a/arch/arm/mach-uniphier/memconf/memconf.c
+++ b/arch/arm/mach-uniphier/memconf/memconf.c
@@ -14,7 +14,7 @@
 
 int memconf_init(const struct uniphier_board_data *bd)
 {
-	u32 tmp = 0;
+	u32 tmp;
 	unsigned long size_per_word;
 
 	tmp = readl(SG_MEMCONF);
-- 
2.7.4



More information about the U-Boot mailing list