Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jason Wang and committed by
Herbert Xu
370a40ee 882ed23e

+1 -1
+1 -1
drivers/crypto/ccp/ccp-dev.c
··· 31 31 #define MAX_CCPS 32 32 32 33 33 /* Limit CCP use to a specifed number of queues per device */ 34 - static unsigned int nqueues = 0; 34 + static unsigned int nqueues; 35 35 module_param(nqueues, uint, 0444); 36 36 MODULE_PARM_DESC(nqueues, "Number of queues per CCP (minimum 1; default: all available)"); 37 37