diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-09-10 14:15:32 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-09-17 05:06:14 +0200 |
commit | 5e91f56a0bb32fd14096e20224bf4f93f1b174b1 (patch) | |
tree | eb4e50170f7820664b7daabddf3a9c0f0103d04e /crypto | |
parent | hwrng: ixp4xx - Make use of the helper function devm_platform_ioremap_resource() (diff) | |
download | linux-5e91f56a0bb32fd14096e20224bf4f93f1b174b1.tar.xz linux-5e91f56a0bb32fd14096e20224bf4f93f1b174b1.zip |
crypto: img-hash - remove need for error return variable ret
The assignment to error return variable ret and then the jump to
an error exit path can be simplified by just returning the error
return at the failure point. This allows variable ret and the
error return path to be removed. This cleans up a static analysis
warninng that variable ret is being assigned (value never being
used) and being re-assigned later.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions