[PATCH 06/10] crypto/des_generic: des_generic_mod_init simplification.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 crypto/des_generic.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/crypto/des_generic.c b/crypto/des_generic.c
index d9a81d8..647189e 100644
--- a/crypto/des_generic.c
+++ b/crypto/des_generic.c
@@ -934,9 +934,7 @@ MODULE_ALIAS("des3_ede");
 
 static int __init des_generic_mod_init(void)
 {
-	int ret = 0;
-
-	ret = crypto_register_alg(&des_alg);
+	int ret = crypto_register_alg(&des_alg);
 	if (ret < 0)
 		goto out;
 
-- 
1.6.0.6

--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux