summaryrefslogtreecommitdiff
path: root/crypto/crct10dif_generic.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-13 04:27:54 +0900
committerHerbert Xu <herbert@gondor.apana.org.au>2016-09-13 20:27:26 +0800
commit36e09e1f874baf581604a76ce81aae0538eb0a23 (patch)
tree4a97f41ba9255097188b1c26edd6782c10fb1b68 /crypto/crct10dif_generic.c
parente9afc746299d39f415fdb13b1213137deb4fc497 (diff)
crypto: squash lines for simple wrapper functions
Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
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)