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>hifive-unleashed-5.1
parent
ac1a2b49ea
commit
96956aef2f
|
@ -2019,7 +2019,7 @@ static int __init drbg_init(void)
|
||||||
return crypto_register_algs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2));
|
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));
|
crypto_unregister_algs(drbg_algs, (ARRAY_SIZE(drbg_cores) * 2));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue