summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Wang <wangborong@cdjrlc.com>2021-11-13 07:30:23 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2021-11-20 05:06:38 +0100
commit370a40ee228340b5141e5d89dee3186452d9f5fb (patch)
tree13b2816fd297577981b26267fcdc65e204f32d7e
parentcrypto: ccree - remove redundant 'flush_workqueue()' calls (diff)
downloadlinux-370a40ee228340b5141e5d89dee3186452d9f5fb.tar.xz
linux-370a40ee228340b5141e5d89dee3186452d9f5fb.zip
crypto: ccp - no need to initialise statics to 0
Static variables do not need to be initialized to 0. Signed-off-by: Jason Wang <wangborong@cdjrlc.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--drivers/crypto/ccp/ccp-dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/ccp/ccp-dev.c b/drivers/crypto/ccp/ccp-dev.c
index 9ce4b68e9c48..c531d13d971f 100644
--- a/drivers/crypto/ccp/ccp-dev.c
+++ b/drivers/crypto/ccp/ccp-dev.c
@@ -31,7 +31,7 @@
#define MAX_CCPS 32
/* Limit CCP use to a specifed number of queues per device */
-static unsigned int nqueues = 0;
+static unsigned int nqueues;
module_param(nqueues, uint, 0444);
MODULE_PARM_DESC(nqueues, "Number of queues per CCP (minimum 1; default: all available)");