From: Thomas Weißschuh Date: Thu, 3 Aug 2023 07:28:50 +0000 (+0200) Subject: selftests/nolibc: drop unused variables X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=79df81aaea1158ad57878b4e5f341dc2618bdaac;p=linux.git selftests/nolibc: drop unused variables These got copied around as new testcases where created. Signed-off-by: Thomas Weißschuh Signed-off-by: Willy Tarreau --- diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/selftests/nolibc/nolibc-test.c index c6b8d05f7f46d..fce04fde0a2d7 100644 --- a/tools/testing/selftests/nolibc/nolibc-test.c +++ b/tools/testing/selftests/nolibc/nolibc-test.c @@ -909,9 +909,7 @@ int run_syscall(int min, int max) int run_stdlib(int min, int max) { int test; - int tmp; int ret = 0; - void *p1, *p2; for (test = min; test >= 0 && test <= max; test++) { int llen = 0; /* line length */ @@ -1047,9 +1045,7 @@ static int expect_vfprintf(int llen, size_t c, const char *expected, const char static int run_vfprintf(int min, int max) { int test; - int tmp; int ret = 0; - void *p1, *p2; for (test = min; test >= 0 && test <= max; test++) { int llen = 0; /* line length */