summaryrefslogtreecommitdiff
path: root/crypto/drbg.c
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2014-07-10 16:52:04 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2014-07-10 16:52:04 +0800
commit96956aef2ff5521af44d6cb896c967d025360ead (patch)
tree25c6068d202780d97d477bcd9de2fa3cacaa08a7 /crypto/drbg.c
parentac1a2b49ea3dff611d820043a0c597db3867bee0 (diff)
downloadlinux-exynos-96956aef2ff5521af44d6cb896c967d025360ead.tar.gz
linux-exynos-96956aef2ff5521af44d6cb896c967d025360ead.tar.bz2
linux-exynos-96956aef2ff5521af44d6cb896c967d025360ead.zip
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>
Diffstat (limited to 'crypto/drbg.c')
-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));
}