From cdf739f26f33e589ab9cdf074a6b7fc04842eca2 Mon Sep 17 00:00:00 2001 From: Petr Vorel Date: Fri, 21 Jun 2024 12:59:56 +0200 Subject: [PATCH] tst_tmpdir: Remove NULL from static Not needed, reported by checkpatch.pl. Link: https://lore.kernel.org/ltp/20240621105957.671338-2-pvorel@suse.cz/ Signed-off-by: Petr Vorel --- lib/tst_tmpdir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tst_tmpdir.c b/lib/tst_tmpdir.c index b73b5c66f7c..bcc788390d3 100644 --- a/lib/tst_tmpdir.c +++ b/lib/tst_tmpdir.c @@ -92,7 +92,7 @@ * Define global variables. */ extern char *TCID; /* defined/initialized in main() */ -static char *TESTDIR = NULL; /* the directory created */ +static char *TESTDIR; /* the directory created */ static char test_start_work_dir[PATH_MAX];