Skip to content

Commit af5d35b

Browse files
Jason Wangherbertx
authored andcommitted
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>
1 parent 7ae19d4 commit af5d35b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crypto/tcrypt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
*/
5959
static unsigned int sec;
6060

61-
static char *alg = NULL;
61+
static char *alg;
6262
static u32 type;
6363
static u32 mask;
6464
static int mode;

0 commit comments

Comments
 (0)