summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2014-07-10 12:52:04 +0400
committerHerbert Xu <herbert@gondor.apana.org.au>2014-07-10 12:52:04 +0400
commit96956aef2ff5521af44d6cb896c967d025360ead (patch)
tree25c6068d202780d97d477bcd9de2fa3cacaa08a7
parentac1a2b49ea3dff611d820043a0c597db3867bee0 (diff)
downloadlinux-96956aef2ff5521af44d6cb896c967d025360ead.tar.xz
crypto: drbg - drbg_exit() can be static
CC: Stephan Mueller <smueller@chronox.de> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--crypto/drbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/drbg.c b/crypto/drbg.c
index 84478cb8d02a..ff975d9e0c2a 100644
--- a/crypto/drbg.c
+++ b/crypto/drbg.c
@@ -2019,7 +2019,7 @@ static int __init drbg_init(void)
return crypto_register_algs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2));
}
-void __exit drbg_exit(void)
+static void __exit drbg_exit(void)
{
crypto_unregister_algs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2));
}