summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/breakpoints
diff options
context:
space:
mode:
authorZhu Jun <zhujun2@cmss.chinamobile.com>2024-07-09 19:11:36 -0700
committerShuah Khan <skhan@linuxfoundation.org>2024-07-11 11:23:55 -0600
commite23b1e6a2b9c88c2a69c43f5e525fafec6d6bba0 (patch)
tree3c7c4a27c5e507bf8df7e552700f428856c80984 /tools/testing/selftests/breakpoints
parentb84111cda99845b2ff248bae37b34f57882d513c (diff)
selftests/breakpoints:Remove unused variable
This variable is never referenced in the code, just remove them that this problem was discovered by reading the code Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/breakpoints')
-rw-r--r--tools/testing/selftests/breakpoints/step_after_suspend_test.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/breakpoints/step_after_suspend_test.c b/tools/testing/selftests/breakpoints/step_after_suspend_test.c
index b8703c499d28..dfec31fb9b30 100644
--- a/tools/testing/selftests/breakpoints/step_after_suspend_test.c
+++ b/tools/testing/selftests/breakpoints/step_after_suspend_test.c
@@ -130,7 +130,6 @@ int run_test(int cpu)
void suspend(void)
{
int power_state_fd;
- struct sigevent event = {};
int timerfd;
int err;
struct itimerspec spec = {};