diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2015-01-13 20:14:41 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-01-14 05:57:57 -0500 |
commit | 598de3695201cc9f722b6e82c0097438d30fd54e (patch) | |
tree | fbc5e8e60ff45175ed9566dadd6c7b4d93097303 | |
parent | 48eb3691e8beab349e3a700d45f070be8d4b88ba (diff) |
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>
-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 91c06f5673dd..67f612cfed97 100644 --- a/crypto/algif_rng.c +++ b/crypto/algif_rng.c | |||
@@ -182,7 +182,7 @@ static int __init rng_init(void) | |||
182 | return af_alg_register_type(&algif_type_rng); | 182 | return af_alg_register_type(&algif_type_rng); |
183 | } | 183 | } |
184 | 184 | ||
185 | void __exit rng_exit(void) | 185 | static void __exit rng_exit(void) |
186 | { | 186 | { |
187 | int err = af_alg_unregister_type(&algif_type_rng); | 187 | int err = af_alg_unregister_type(&algif_type_rng); |
188 | BUG_ON(err); | 188 | BUG_ON(err); |