diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2015-01-14 09:14:41 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-01-14 21:57:57 +1100 |
commit | bcd6093dabd102db9d49e3106102e70273850b70 (patch) | |
tree | 138f28b6abff49ff7b3db9aca8941e3fdfc0594f /crypto/algif_rng.c | |
parent | e61ef0139ced7fcecaa9113a51641f3504e86d28 (diff) | |
download | linux-crypto-bcd6093dabd102db9d49e3106102e70273850b70.tar.gz linux-crypto-bcd6093dabd102db9d49e3106102e70273850b70.zip |
crypto: algif_rng - fix sparse non static symbol warning
Fixes the following sparse warnings:
crypto/algif_rng.c:185:13: warning:
symbol 'rng_exit' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Stephan Mueller <smueller@chronox.de>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r-- | crypto/algif_rng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/algif_rng.c b/crypto/algif_rng.c index 91c06f56..67f612cf 100644 --- a/crypto/algif_rng.c +++ b/crypto/algif_rng.c @@ -182,7 +182,7 @@ static int __init rng_init(void) return af_alg_register_type(&algif_type_rng); } -void __exit rng_exit(void) +static void __exit rng_exit(void) { int err = af_alg_unregister_type(&algif_type_rng); BUG_ON(err); |