diff mbox series

[v2] selftests/breakpoints:Remove unused variable

Message ID 20240710021136.2753-1-zhujun2@cmss.chinamobile.com
State Accepted
Commit e23b1e6a2b9c88c2a69c43f5e525fafec6d6bba0
Headers show
Series [v2] selftests/breakpoints:Remove unused variable | expand

Commit Message

Zhu Jun July 10, 2024, 2:11 a.m. UTC
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>
---
Changes in v2:
 - modify commit info

 tools/testing/selftests/breakpoints/step_after_suspend_test.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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 = {};