diff --git a/src/iomux_epoll.c b/src/iomux_epoll.c index 8da27b9..a2c88f0 100644 --- a/src/iomux_epoll.c +++ b/src/iomux_epoll.c @@ -183,8 +183,6 @@ static int iomux_epoll_run(struct IOMux *mux_, struct timeval *timeout) //we want to deliver only one event at a time to simplify //application programming. - fd = mux->pending_events[i].data.ptr; - if (events & MUX_EV_READ && fd != NULL) { assert(fd->callback != NULL); fd->callback(mux_, fd, MUX_EV_READ);