crypto: arm/blake2b - drop unnecessary return statement
Subsystems (2)
PATCH 1/1 crypto: arm/blake2b - drop unnecessary return statement
From: Eric Biggers <[email protected]>
Neither crypto_unregister_shashes() nor the module_exit function return a value, so the explicit 'return' is unnecessary.
Signed-off-by Eric Biggers <[email protected]>
--- arch/arm/crypto/blake2b-neon-glue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/crypto/blake2b-neon-glue.c +2 -2
@@ -85,8 +85,8 @@ static int __init blake2b_neon_mod_init(void) static void __exit blake2b_neon_mod_exit(void) { -return crypto_unregister_shashes (blake2b_neon_algs, -ARRAY_SIZE (blake2b_neon_algs)); +crypto_unregister_shashes (blake2b_neon_algs, +ARRAY_SIZE (blake2b_neon_algs)); }module_init (blake2b_neon_mod_init);
Signature · 1 line
2.30.0.478.g8a0d178c01-goog
Herbert Xu
maintainerQuoted 9 lines · Eric Biggers
From: Eric Biggers <[email protected]>
Neither
crypto_unregister_shashes()nor themodule_exitfunction return a value, so the explicit 'return' is unnecessary.Signed-off-by Eric Biggers <[email protected]>---
arch/arm/crypto/blake2b-neon-glue.c| 4 ++--1 file changed, 2 insertions(+), 2 deletions(-)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt