From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Tue, 4 Aug 2020 09:45:01 +0800 Subject: [PATCH 1/1] riscv: sifive: fu540: redundant initialization In-Reply-To: <20200803210949.16070-1-xypron.glpk@gmx.de> References: <20200803210949.16070-1-xypron.glpk@gmx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Aug 4, 2020 at 5:10 AM Heinrich Schuchardt wrote: > > We should not initialize a variable if the value is overwritten before > being read. > > Signed-off-by: Heinrich Schuchardt > --- > arch/riscv/cpu/fu540/cache.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Bin Meng