Fix redundant setting of events in iomux_update_events

This commit is contained in:
Nils O. Selåsdal
2015-12-10 12:29:47 +01:00
parent 94dcd522aa
commit c87137cb4f
-1
View File
@@ -151,7 +151,6 @@ int iomux_update_events(struct IOMux *mux, struct IOMuxFD *fd, unsigned int what
if (fd->what != what) { if (fd->what != what) {
fd->what = what; fd->what = what;
rc = mux->ops.update_events_impl(mux, fd); rc = mux->ops.update_events_impl(mux, fd);
fd->what = what;
} }
return rc; return rc;