summaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-05-28 22:07:57 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-06-03 10:48:34 +0800
commit43615369ab79f2c06532ea1607266b8307ccce82 (patch)
tree59a7f23fcb74a46d80f4a117b117f52528560576 /include/crypto
parentc2110f28341cec2ecfd9474db15ac090bce1234c (diff)
crypto: aead - Ignore return value from crypto_unregister_alg
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@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/internal/aead.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto/internal/aead.h b/include/crypto/internal/aead.h
index f068d74da9f6..3cb35d882930 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);