diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-05-28 22:07:57 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-03 10:48:34 +0800 |
commit | 43615369ab79f2c06532ea1607266b8307ccce82 (patch) | |
tree | 59a7f23fcb74a46d80f4a117b117f52528560576 /crypto/aead.c | |
parent | c2110f28341cec2ecfd9474db15ac090bce1234c (diff) | |
download | lwn-43615369ab79f2c06532ea1607266b8307ccce82.tar.gz lwn-43615369ab79f2c06532ea1607266b8307ccce82.zip |
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 'crypto/aead.c')
-rw-r--r-- | crypto/aead.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/aead.c b/crypto/aead.c index 4bab3cff3578..ac4479297864 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); |