[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240501122918.3831734-6-usama.anjum@collabora.com>
Date: Wed, 1 May 2024 17:29:15 +0500
From: Muhammad Usama Anjum <usama.anjum@...labora.com>
To: Shuah Khan <shuah@...nel.org>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Bill Wendling <morbo@...gle.com>,
Justin Stitt <justinstitt@...gle.com>,
Muhammad Usama Anjum <usama.anjum@...labora.com>,
Rick Edgecombe <rick.p.edgecombe@...el.com>,
"Mike Rapoport (IBM)" <rppt@...nel.org>,
Ingo Molnar <mingo@...nel.org>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Alexey Dobriyan <adobriyan@...il.com>,
Binbin Wu <binbin.wu@...ux.intel.com>,
"Chang S. Bae" <chang.seok.bae@...el.com>,
"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev
Cc: kernel@...labora.com
Subject: [PATCH 5/8] selftests: x86: syscall_arg_fault_32: remove unused variable
Remove unused global variable.
syscall_arg_fault.c:32:30: warning: unused variable 'sig_traps' [-Wunused-variable]
32 | static volatile sig_atomic_t sig_traps;
Signed-off-by: Muhammad Usama Anjum <usama.anjum@...labora.com>
---
tools/testing/selftests/x86/syscall_arg_fault.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/x86/syscall_arg_fault.c b/tools/testing/selftests/x86/syscall_arg_fault.c
index 461fa41a4d02a..48ab065a76f9b 100644
--- a/tools/testing/selftests/x86/syscall_arg_fault.c
+++ b/tools/testing/selftests/x86/syscall_arg_fault.c
@@ -29,7 +29,6 @@ static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *),
err(1, "sigaction");
}
-static volatile sig_atomic_t sig_traps;
static sigjmp_buf jmpbuf;
static volatile sig_atomic_t n_errs;
--
2.39.2
Powered by blists - more mailing lists