[PATCH 1/1] riscv: sifive: fu540: redundant initialization
Bin Meng
bmeng.cn at gmail.com
Tue Aug 4 03:45:01 CEST 2020
On Tue, Aug 4, 2020 at 5:10 AM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> We should not initialize a variable if the value is overwritten before
> being read.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> arch/riscv/cpu/fu540/cache.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Bin Meng <bin.meng at windriver.com>
More information about the U-Boot
mailing list