From: Masahiro Yamada Date: Mon, 5 Dec 2016 09:31:36 +0000 (+0900) Subject: ARM: uniphier: remove unneeded initializer X-Git-Tag: v2017.01-rc2~14^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=82ff6c392f9cf3df14b2636b09798b1f939e2e0b;p=u-boot ARM: uniphier: remove unneeded initializer This will be used to store the return value of readl(). Signed-off-by: Masahiro Yamada --- 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 + * Copyright (C) 2011-2015 Panasonic Corporation + * Copyright (C) 2016 Socionext Inc. + * Author: Masahiro Yamada * * 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);