summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/timers/alarmtimer-suspend.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/timers/alarmtimer-suspend.c')
-rw-r--r--tools/testing/selftests/timers/alarmtimer-suspend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/timers/alarmtimer-suspend.c b/tools/testing/selftests/timers/alarmtimer-suspend.c
index 4332b49410..ad52e608b8 100644
--- a/tools/testing/selftests/timers/alarmtimer-suspend.c
+++ b/tools/testing/selftests/timers/alarmtimer-suspend.c
@@ -173,6 +173,6 @@ int main(void)
timer_delete(tm1);
}
if (final_ret)
- return ksft_exit_fail();
- return ksft_exit_pass();
+ ksft_exit_fail();
+ ksft_exit_pass();
}