tools: drop CLOCK_MONOTONIC call, no longer necessary

Obsolete as of 84c4f40f25.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2014-03-06 15:27:47 +10:00
parent 385bfdb762
commit e1d25a9539

View file

@ -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;
}