selftests/nolibc: drop unused variables
authorThomas Weißschuh <linux@weissschuh.net>
Thu, 3 Aug 2023 07:28:50 +0000 (09:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Aug 2023 03:17:07 +0000 (05:17 +0200)
These got copied around as new testcases where created.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
tools/testing/selftests/nolibc/nolibc-test.c

index c6b8d05f7f46d3b9c3c4f812ef87a368e7723a20..fce04fde0a2d76537268d16b6c4bb43e205c3aca 100644 (file)
@@ -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 */