aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/timers/inconsistency-check.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/timers/inconsistency-check.c')
-rw-r--r--tools/testing/selftests/timers/inconsistency-check.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/tools/testing/selftests/timers/inconsistency-check.c b/tools/testing/selftests/timers/inconsistency-check.c
index 74c60e8759a0..022d3ffe3fbf 100644
--- a/tools/testing/selftests/timers/inconsistency-check.c
+++ b/tools/testing/selftests/timers/inconsistency-check.c
@@ -28,18 +28,7 @@
#include <sys/timex.h>
#include <string.h>
#include <signal.h>
-#ifdef KTEST
#include "../kselftest.h"
-#else
-static inline int ksft_exit_pass(void)
-{
- exit(0);
-}
-static inline int ksft_exit_fail(void)
-{
- exit(1);
-}
-#endif
#define CALLS_PER_LOOP 64
#define NSEC_PER_SEC 1000000000ULL