summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/timers/adjtick.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/timers/adjtick.c')
-rw-r--r--tools/testing/selftests/timers/adjtick.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/tools/testing/selftests/timers/adjtick.c b/tools/testing/selftests/timers/adjtick.c
index 9887fd538fec..0caca3a06bd2 100644
--- a/tools/testing/selftests/timers/adjtick.c
+++ b/tools/testing/selftests/timers/adjtick.c
@@ -23,18 +23,7 @@
#include <sys/timex.h>
#include <time.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 CLOCK_MONOTONIC_RAW 4
OpenPOWER on IntegriCloud