Thread (2 messages) 2 messages, 2 authors, 2020-06-26

Re: [PATCH] crypto: img-hash: remove redundant initialization of variable err

flat view

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2020-06-26 06:08:12
Also in: kernel-janitors, lkml

On Thu, Jun 18, 2020 at 11:16:25AM +0100, Colin King wrote:
From: Colin Ian King <redacted>

The variable err is being initialized with a value that is never read
and it is being updated later with a new value.  The initialization is
redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <redacted>
---
 drivers/crypto/img-hash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied.  Thanks.
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help