crypto: drbg - drbg_exit() can be static
authorFengguang Wu <fengguang.wu@intel.com>
Thu, 10 Jul 2014 08:52:04 +0000 (16:52 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jul 2014 08:52:04 +0000 (16:52 +0800)
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>
crypto/drbg.c

index 84478cb8d02a721b231ddc9544ef1f27d9dba52b..ff975d9e0c2a575c1151117e170e096a7f55aa56 100644 (file)
@@ -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));
 }