summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/timers/inconsistency-check.c
diff options
context:
space:
mode:
authorMark Brown2017-09-19 15:12:47 +0200
committerMark Brown2017-09-19 15:12:47 +0200
commite9331ee9b164d58b4dd0abc882ba7e23d2f404b3 (patch)
tree903d078e53a59ed65708193f2486ad0b9a8109d8 /tools/testing/selftests/timers/inconsistency-check.c
parentASoC: rockchip: Add dapm route for HDMI (diff)
parentLinux 4.14-rc1 (diff)
downloadkernel-qcow2-linux-e9331ee9b164d58b4dd0abc882ba7e23d2f404b3.tar.gz
kernel-qcow2-linux-e9331ee9b164d58b4dd0abc882ba7e23d2f404b3.tar.xz
kernel-qcow2-linux-e9331ee9b164d58b4dd0abc882ba7e23d2f404b3.zip
Merge tag 'v4.14-rc1' into asoc-rockchip
Linux 4.14-rc1
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