From: Jason Wang Date: Sat, 13 Nov 2021 06:30:23 +0000 (+0800) Subject: crypto: ccp - no need to initialise statics to 0 X-Git-Tag: v6.1-rc5~2292^2~132 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=370a40ee228340b5141e5d89dee3186452d9f5fb;p=platform%2Fkernel%2Flinux-starfive.git crypto: ccp - no need to initialise statics to 0 Static variables do not need to be initialized to 0. Signed-off-by: Jason Wang Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/ccp/ccp-dev.c b/drivers/crypto/ccp/ccp-dev.c index 9ce4b68..c531d13 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)");