Skip to content

Commit

Permalink
main: remove obsolete OPENWRT epoll check (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh authored Feb 10, 2022
1 parent 9e4d53a commit 804a6d5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/main/epoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@ bool epoll_check(void)
return false;
}

#ifdef OPENWRT
/* epoll is working again with 2.6.25.7 */
if (osrel < 0x020619) {
DEBUG_NOTICE("epoll is broken in osrel=0x%08x\n", osrel);
return false;
}
#endif

epfd = epoll_create(64);
if (-1 == epfd) {
DEBUG_NOTICE("epoll_create: %m\n", errno);
Expand Down

0 comments on commit 804a6d5

Please sign in to comment.