From 43d7e9ca8057251821802ca205ce61efcbc10205 Mon Sep 17 00:00:00 2001 From: Tycho Andersen Date: Thu, 15 Oct 2015 16:28:09 -0600 Subject: [PATCH] check: do timerfd check on mainline kernel As of https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5442e9fbd this feature is in mainline, so let's check for it in ms. Signed-off-by: Tycho Andersen Signed-off-by: Pavel Emelyanov --- timerfd.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/timerfd.c b/timerfd.c index 79ddb2b80..940190f5a 100644 --- a/timerfd.c +++ b/timerfd.c @@ -44,11 +44,6 @@ int check_timerfd(void) { int fd, ret = -1; - if (opts.check_ms_kernel) { - pr_warn("Skipping timerfd support check\n"); - return 0; - } - fd = timerfd_create(CLOCK_MONOTONIC, 0); if (fd < 0) { pr_perror("timerfd_create failed");