summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/timers/nsleep-lat.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/timers/nsleep-lat.c')
-rw-r--r--tools/testing/selftests/timers/nsleep-lat.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/tools/testing/selftests/timers/nsleep-lat.c b/tools/testing/selftests/timers/nsleep-lat.c
index 2d7898fda0f1..c3c3dc10db17 100644
--- a/tools/testing/selftests/timers/nsleep-lat.c
+++ b/tools/testing/selftests/timers/nsleep-lat.c
@@ -24,18 +24,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 NSEC_PER_SEC 1000000000ULL