aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-09-10 13:15:32 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2021-09-17 11:06:14 +0800
commit5e91f56a0bb32fd14096e20224bf4f93f1b174b1 (patch)
treeeb4e50170f7820664b7daabddf3a9c0f0103d04e /crypto
parenthwrng: ixp4xx - Make use of the helper function devm_platform_ioremap_resource() (diff)
downloadlinux-dev-5e91f56a0bb32fd14096e20224bf4f93f1b174b1.tar.xz
linux-dev-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