ARM: uniphier: remove unneeded initializer
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 5 Dec 2016 09:31:36 +0000 (18:31 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 9 Dec 2016 16:42:51 +0000 (01:42 +0900)
This will be used to store the return value of readl().

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/memconf/memconf.c

index 3d4b504..e607ac9 100644 (file)
@@ -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);