Remove redundant assignment
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user