crypto: arm/blake2b - drop unnecessary return statement
authorEric Biggers <ebiggers@google.com>
Tue, 9 Feb 2021 02:28:16 +0000 (18:28 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 7 Mar 2021 04:13:14 +0000 (15:13 +1100)
Neither crypto_unregister_shashes() nor the module_exit function return
a value, so the explicit 'return' is unnecessary.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/crypto/blake2b-neon-glue.c

index 34d73200e7fa6eff750bb2ae5fe9a9017c24af0f..4b59d027ba4acde262603caecda9d11bd2a952f1 100644 (file)
@@ -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);