diff options
author | Jason Wang <wangborong@cdjrlc.com> | 2022-07-23 17:26:40 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-07-29 18:29:18 +0800 |
commit | 908b051d915f1bedeafda50ba31496b31740234f (patch) | |
tree | f4b7db8d9a871ed3cb90b70666730117c80dba04 /crypto/tcrypt.c | |
parent | f2a0b208773267f8e04fd3d738d930a28f7693ef (diff) | |
download | linux-crypto-908b051d915f1bedeafda50ba31496b31740234f.tar.gz linux-crypto-908b051d915f1bedeafda50ba31496b31740234f.zip |
crypto: tcrypt - Remove the static variable initialisations to NULL
Initialise global and static variable to NULL is always unnecessary.
Remove the unnecessary initialisations.
Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r-- | crypto/tcrypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index f56d1a9c..59eb8ec3 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c @@ -58,7 +58,7 @@ */ static unsigned int sec; -static char *alg = NULL; +static char *alg; static u32 type; static u32 mask; static int mode; |