aboutsummaryrefslogtreecommitdiffstats
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
parentcrypto: qat - remove an unneeded cast (diff)
downloadlinux-dev-96956aef2ff5521af44d6cb896c967d025360ead.tar.xz
linux-dev-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));
}