mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-24 17:00:06 +01:00
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:
parent
385bfdb762
commit
e1d25a9539
1 changed files with 0 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue