[PATCH 4/10] crypto: aead - Ignore return value from crypto_unregister_alg

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

 



No new code should be using the return value of crypto_unregister_alg
as it will become void soon.

Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
---

 crypto/aead.c                  |    4 ++--
 include/crypto/internal/aead.h |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/crypto/aead.c b/crypto/aead.c
index 4bab3cf..ac44792 100644
--- a/crypto/aead.c
+++ b/crypto/aead.c
@@ -890,9 +890,9 @@ int crypto_register_aead(struct aead_alg *alg)
 }
 EXPORT_SYMBOL_GPL(crypto_register_aead);
 
-int crypto_unregister_aead(struct aead_alg *alg)
+void crypto_unregister_aead(struct aead_alg *alg)
 {
-	return crypto_unregister_alg(&alg->base);
+	crypto_unregister_alg(&alg->base);
 }
 EXPORT_SYMBOL_GPL(crypto_unregister_aead);
 
diff --git a/include/crypto/internal/aead.h b/include/crypto/internal/aead.h
index f068d74..3cb35d8 100644
--- a/include/crypto/internal/aead.h
+++ b/include/crypto/internal/aead.h
@@ -151,7 +151,7 @@ static inline unsigned int crypto_aead_maxauthsize(struct crypto_aead *aead)
 }
 
 int crypto_register_aead(struct aead_alg *alg);
-int crypto_unregister_aead(struct aead_alg *alg);
+void crypto_unregister_aead(struct aead_alg *alg);
 int aead_register_instance(struct crypto_template *tmpl,
 			   struct aead_instance *inst);
 
--
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