Re: [PATCH 1/1] riscv: sifive: fu540: redundant initialization

4 Aug
2020
4 Aug
'20
10:46 a.m.
From: Heinrich Schuchardt [mailto:xypron.glpk@gmx.de] Sent: Tuesday, August 04, 2020 5:10 AM To: Rick Jian-Zhi Chen(陳建志) Cc: Pragnesh Patel; Bin Meng; u-boot@lists.denx.de; Heinrich Schuchardt Subject: [PATCH 1/1] riscv: sifive: fu540: redundant initialization
We should not initialize a variable if the value is overwritten before being read.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de
arch/riscv/cpu/fu540/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Rick Chen rick@andestech.com
1737
Age (days ago)
1737
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rick Chen