Fix redundant setting of events in iomux_update_events
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user