Remove redundant assignment

This commit is contained in:
Nils O. Selåsdal
2013-11-17 23:06:39 +01:00
parent 0f88bb3190
commit 37ebc2a75b
-2
View File
@@ -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 //we want to deliver only one event at a time to simplify
//application programming. //application programming.
fd = mux->pending_events[i].data.ptr;
if (events & MUX_EV_READ && fd != NULL) { if (events & MUX_EV_READ && fd != NULL) {
assert(fd->callback != NULL); assert(fd->callback != NULL);
fd->callback(mux_, fd, MUX_EV_READ); fd->callback(mux_, fd, MUX_EV_READ);