Skip to content

Commit

Permalink
crypto: tcrypt - Remove the static variable initialisations to NULL
Browse files Browse the repository at this point in the history
Initialise global and static variable to NULL is always unnecessary.
Remove the unnecessary initialisations.

Signed-off-by: Jason Wang <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
Jason Wang authored and herbertx committed Jul 29, 2022
1 parent 7ae19d4 commit af5d35b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/tcrypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
*/
static unsigned int sec;

static char *alg = NULL;
static char *alg;
static u32 type;
static u32 mask;
static int mode;
Expand Down

0 comments on commit af5d35b

Please sign in to comment.