summaryrefslogtreecommitdiffstats
path: root/crypto/crct10dif_generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/crct10dif_generic.c')
-rw-r--r--crypto/crct10dif_generic.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/crypto/crct10dif_generic.c b/crypto/crct10dif_generic.c
index c1229614c7e3..8e94e29dc6fc 100644
--- a/crypto/crct10dif_generic.c
+++ b/crypto/crct10dif_generic.c
@@ -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)
OpenPOWER on IntegriCloud