Browse Source

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>
Fengguang Wu 11 năm trước cách đây
mục cha
commit
96956aef2f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      crypto/drbg.c

+ 1 - 1
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));
 }