Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: anubis - simplify return statement in anubis_mod_init

Return the result of calling crypto_register_alg() directly and remove
the local return variable.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Thorsten Blum and committed by
Herbert Xu
b73f28d2 f0cafb02

+1 -4
+1 -4
crypto/anubis.c
··· 683 683 684 684 static int __init anubis_mod_init(void) 685 685 { 686 - int ret = 0; 687 - 688 - ret = crypto_register_alg(&anubis_alg); 689 - return ret; 686 + return crypto_register_alg(&anubis_alg); 690 687 } 691 688 692 689 static void __exit anubis_mod_fini(void)