summaryrefslogtreecommitdiff
path: root/crypto/cryptd.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-11-30 11:26:14 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2017-12-11 22:36:58 +1100
commit724174d99fd51ae560ab56f33286c4945041f47c (patch)
treee87c9418151dc65256283a83df2a809eb2a24475 /crypto/cryptd.c
parentbedfbcf55b6411b115d4234ed48075e617916965 (diff)
downloadlinux-crypto-724174d99fd51ae560ab56f33286c4945041f47c.tar.gz
linux-crypto-724174d99fd51ae560ab56f33286c4945041f47c.zip
crypto: cryptd - make cryptd_max_cpu_qlen module parameter static
The cryptd_max_cpu_qlen module parameter is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: crypto/cryptd.c:35:14: warning: symbol 'cryptd_max_cpu_qlen' was not declared. Should it be static? Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/cryptd.c')
-rw-r--r--crypto/cryptd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/cryptd.c b/crypto/cryptd.c
index b1eb131c..552e3a86 100644
--- a/crypto/cryptd.c
+++ b/crypto/cryptd.c
@@ -32,7 +32,7 @@
#include <linux/sched.h>
#include <linux/slab.h>
-unsigned int cryptd_max_cpu_qlen = 1000;
+static unsigned int cryptd_max_cpu_qlen = 1000;
module_param(cryptd_max_cpu_qlen, uint, 0);
MODULE_PARM_DESC(cryptd_max_cpu_qlen, "Set cryptd Max queue depth");