summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-03-06 15:27:47 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-03-06 15:27:47 +1000
commite1d25a9539adbcd99bd503435c021e813dd43fbe (patch)
treec8988a36e15fcb5b780aaf0be7185dc7dbdc135e /tools
parent385bfdb762be88abc7089044b4b030026511c1e5 (diff)
downloadlibinput-e1d25a9539adbcd99bd503435c021e813dd43fbe.tar.gz
tools: drop CLOCK_MONOTONIC call, no longer necessary
Obsolete as of 84c4f40f25e91ff6ecd35b47398d13ac3996f101. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/event-debug.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/event-debug.c b/tools/event-debug.c
index 876f6f0f..12a2df87 100644
--- a/tools/event-debug.c
+++ b/tools/event-debug.c
@@ -110,12 +110,6 @@ static int
open_restricted(const char *path, int flags, void *user_data)
{
int fd = open(path, flags);
- int clockid = CLOCK_MONOTONIC;
-
- if (fd >= 0 && ioctl(fd, EVIOCSCLOCKID, &clockid) < 0)
- fprintf(stderr, "Changing clock on %s failed, timestamps "
- "will be off\n", path);
-
return fd < 0 ? -errno : fd;
}