]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
selftests/breakpoints:Remove unused variable
authorZhu Jun <zhujun2@cmss.chinamobile.com>
Wed, 10 Jul 2024 02:11:36 +0000 (19:11 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 11 Jul 2024 17:23:55 +0000 (11:23 -0600)
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>
tools/testing/selftests/breakpoints/step_after_suspend_test.c

index b8703c499d28cd66cd8c01efa9a2c78b0de7198e..dfec31fb9b30d14f327c54e1e3312657414211f8 100644 (file)
@@ -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 = {};