diff --git a/tools/lkl/lib/hijack/hijack.c b/tools/lkl/lib/hijack/hijack.c index a07d56b5ed7ff4..c3ba1523b4fc9f 100644 --- a/tools/lkl/lib/hijack/hijack.c +++ b/tools/lkl/lib/hijack/hijack.c @@ -305,24 +305,7 @@ int select(int nfds, fd_set *r, fd_set *w, fd_set *e, struct timeval *t) } HOOK_CALL_USE_HOST_BEFORE_START(epoll_create); -int epoll_create(int flags) -{ - int res; - - if (!lkl_running) - res = host_epoll_create(flags); - else - res = lkl_call(__lkl__NR_epoll_create, 1, flags); - - return res; -} - HOOK_CALL_USE_HOST_BEFORE_START(epoll_create1); -int epoll_create1(int flags) -{ - return lkl_call(__lkl__NR_epoll_create1, 1, flags); -} - HOST_CALL(epoll_ctl); int epoll_ctl(int epollfd, int op, int fd, struct epoll_event *event)