x86/smpboot: Init apic mapping before usage
[cascardo/linux.git] / crypto / crct10dif_generic.c
index c122961..8e94e29 100644 (file)
@@ -107,10 +107,7 @@ static struct shash_alg alg = {
 
 static int __init crct10dif_mod_init(void)
 {
-       int ret;
-
-       ret = crypto_register_shash(&alg);
-       return ret;
+       return crypto_register_shash(&alg);
 }
 
 static void __exit crct10dif_mod_fini(void)