X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=crypto%2Fcrct10dif_generic.c;h=8e94e29dc6fc89e71f9d2e724814c74e3277683b;hb=50cff89837a43a7c62ac080de9742a298d6418b3;hp=c1229614c7e324e5ee9341d6f2be530afd437487;hpb=256fca9247c4e62408923a0fe861398510cf6bc1;p=cascardo%2Flinux.git 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)