diff --git a/src/iomux_impl.c b/src/iomux_impl.c index e41cfa1..ae3a083 100644 --- a/src/iomux_impl.c +++ b/src/iomux_impl.c @@ -151,7 +151,6 @@ int iomux_update_events(struct IOMux *mux, struct IOMuxFD *fd, unsigned int what if (fd->what != what) { fd->what = what; rc = mux->ops.update_events_impl(mux, fd); - fd->what = what; } return rc;