From patchwork Mon Dec 5 09:31:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 702651 X-Patchwork-Delegate: yamada.m@jp.panasonic.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3tXKNm3lVjz9sDB for ; Mon, 5 Dec 2016 20:35:04 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="EipB8l8Y"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 44727B384D; Mon, 5 Dec 2016 10:34:52 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fW3NpYInPgqF; Mon, 5 Dec 2016 10:34:52 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1E678B3859; Mon, 5 Dec 2016 10:34:43 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D9F87A7599 for ; Mon, 5 Dec 2016 10:34:32 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kkJbg0AlMAKR for ; Mon, 5 Dec 2016 10:34:32 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by theia.denx.de (Postfix) with ESMTPS id 1BFE24B98B for ; Mon, 5 Dec 2016 10:34:29 +0100 (CET) Received: from pug.jp.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id uB59YD4R003287; Mon, 5 Dec 2016 18:34:14 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com uB59YD4R003287 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1480930454; bh=e8vmQozIwwDJZ7imTEA+xa2iiNs0gwKRWv44Bx+dDDE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EipB8l8YVxQQi4uoviXSz5k8fq0BISWieJEoaKAI3n26z1AfS//Vbtnjqchy7TI6C 0wnLpfG9BUzx9KOWStR2yToiCBLkib6PLS35MkR3qLSkKTiCNYkw6aVIVKL9AXBR/I hZxJEn/6cwUpSFmqxwqWU0Z/eC36R9sATPealn/te5LElwEI4erW4QXbZMiVapBCvY CFhjq1MoWiWUkJgjpbX0CFeLQd5XMVgzyLO8FNE2e1pUZ6IZjoNkkyuWEGtazrtb4a UDvxK0Om9qFr5zeNzdqkLxcYEonc3RfvYzkqKqK3y6+eejwOnhvxg0eyu1Nb1AbF5L qLWAgxSm/wtiA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Mon, 5 Dec 2016 18:31:36 +0900 Message-Id: <1480930299-12747-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1480930299-12747-1-git-send-email-yamada.masahiro@socionext.com> References: <1480930299-12747-1-git-send-email-yamada.masahiro@socionext.com> Cc: Albert Aribaud Subject: [U-Boot] [PATCH 1/4] ARM: uniphier: remove unneeded initializer X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This will be used to store the return value of readl(). Signed-off-by: Masahiro Yamada --- 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);