From: Heinrich Schuchardt Date: Thu, 8 Oct 2020 18:53:13 +0000 (+0200) Subject: lib: rsa: superfluous initialization in rsa_verify() X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-favicon.png?a=commitdiff_plain;h=ec71cc34c1cef173d9f656d5cc9a2e698fae28fb;p=u-boot.git lib: rsa: superfluous initialization in rsa_verify() Remove initialization of ret with unused value. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- diff --git a/lib/rsa/rsa-verify.c b/lib/rsa/rsa-verify.c index b9c800c7dc..0ab0f629d0 100644 --- a/lib/rsa/rsa-verify.c +++ b/lib/rsa/rsa-verify.c @@ -545,7 +545,7 @@ int rsa_verify(struct image_sign_info *info, { /* Reserve memory for maximum checksum-length */ uint8_t hash[info->crypto->key_len]; - int ret = -EACCES; + int ret; /* * Verify that the checksum-length does not exceed the