diff --git a/src/ev_epoll.c b/src/ev_epoll.c index 8b0d684d6..a9b841035 100644 --- a/src/ev_epoll.c +++ b/src/ev_epoll.c @@ -161,7 +161,7 @@ REGPRM2 static void _do_poll(struct poller *p, int exp) ((e & EPOLLHUP) ? FD_POLL_HUP : 0); } - if (fdtab[fd].iocb && fdtab[fd].owner && fdtab[fd].ev) { + if (fdtab[fd].iocb && fdtab[fd].ev) { int new_updt, old_updt = fd_nbupdt; /* Save number of updates to detect creation of new FDs. */ /* Mark the events as speculative before processing diff --git a/src/ev_poll.c b/src/ev_poll.c index 2c7501d9d..c09232e4b 100644 --- a/src/ev_poll.c +++ b/src/ev_poll.c @@ -170,7 +170,7 @@ REGPRM2 static void _do_poll(struct poller *p, int exp) ((e & POLLHUP) ? FD_POLL_HUP : 0); } - if (fdtab[fd].iocb && fdtab[fd].owner && fdtab[fd].ev) { + if (fdtab[fd].iocb && fdtab[fd].ev) { /* Mark the events as speculative before processing * them so that if nothing can be done we don't need * to poll again. diff --git a/src/ev_select.c b/src/ev_select.c index 356eed735..48a62da18 100644 --- a/src/ev_select.c +++ b/src/ev_select.c @@ -156,7 +156,7 @@ REGPRM2 static void _do_poll(struct poller *p, int exp) if (FD_ISSET(fd, tmp_evts[DIR_WR])) fdtab[fd].ev |= FD_POLL_OUT; - if (fdtab[fd].iocb && fdtab[fd].owner && fdtab[fd].ev) { + if (fdtab[fd].iocb && fdtab[fd].ev) { /* Mark the events as speculative before processing * them so that if nothing can be done we don't need * to poll again.