From 37ebc2a75b0a5f45ff1f8e00d3d7d026f66902dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Sun, 17 Nov 2013 23:06:39 +0100 Subject: [PATCH] Remove redundant assignment --- src/iomux_epoll.c | 2 -- 1 file changed, 2 deletions(-) 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);