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: khazad - simplify return statement in khazad_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
b6aa86c8 37b03cb3

+1 -4
+1 -4
crypto/khazad.c
··· 859 859 860 860 static int __init khazad_mod_init(void) 861 861 { 862 - int ret = 0; 863 - 864 - ret = crypto_register_alg(&khazad_alg); 865 - return ret; 862 + return crypto_register_alg(&khazad_alg); 866 863 } 867 864 868 865 static void __exit khazad_mod_fini(void)