From: Jason Wang Date: Sat, 23 Jul 2022 09:26:40 +0000 (+0800) Subject: crypto: tcrypt - Remove the static variable initialisations to NULL X-Git-Tag: baikal/mips/sdk6.1~5178^2 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=e17625dfd5ac6a2ad41526d7bb2d1dafc94ad835;p=kernel.git 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 Signed-off-by: Herbert Xu --- diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index f56d1a9cf0a78..59eb8ec366643 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;