From c87137cb4f08e870220aa02d8847852475c28a00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Thu, 10 Dec 2015 12:29:47 +0100 Subject: [PATCH] Fix redundant setting of events in iomux_update_events --- src/iomux_impl.c | 1 - 1 file changed, 1 deletion(-) 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;