crypto: ccp: ccp-dev: no need to initialise statics to 0
Subsystems (2)
PATCH 1/1 crypto: ccp: ccp-dev: no need to initialise statics to 0
Static variables do not need to be initialized to 0.
Signed-off-by Jason Wang <[email protected]>
--- drivers/crypto/ccp/ccp-dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/ccp/ccp-dev.c +1 -1
@@ -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)" );
Signature · 1 line
2.33.0
Herbert Xu
maintainerQuoted 6 lines · Jason Wang
Static variables do not need to be initialized to 0.
Signed-off-by Jason Wang <[email protected]>--- drivers/crypto/ccp/ccp-dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt