summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/timers/set-timer-lat.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/timers/set-timer-lat.c')
-rw-r--r--tools/testing/selftests/timers/set-timer-lat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/timers/set-timer-lat.c b/tools/testing/selftests/timers/set-timer-lat.c
index 50da45437d..7ce240c89b 100644
--- a/tools/testing/selftests/timers/set-timer-lat.c
+++ b/tools/testing/selftests/timers/set-timer-lat.c
@@ -278,6 +278,6 @@ int main(void)
ret |= do_timer_oneshot(clock_id, 0);
}
if (ret)
- return ksft_exit_fail();
- return ksft_exit_pass();
+ ksft_exit_fail();
+ ksft_exit_pass();
}