From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pragnesh Patel Date: Tue, 4 Aug 2020 05:50:41 +0000 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 >-----Original Message----- >From: Heinrich Schuchardt >Sent: 04 August 2020 02:40 >To: Rick Chen >Cc: Pragnesh Patel ; Bin Meng >; u-boot at lists.denx.de; Heinrich Schuchardt > >Subject: [PATCH 1/1] riscv: sifive: fu540: redundant initialization > >[External Email] Do not click links or attachments unless you recognize the >sender and know the content is safe > >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: Pragnesh Patel Tested-by: Pragnesh Patel