Diff between 03ae0d71e0556e93643e3be35d8211a1c2c6fabb and e9a0a023bd7a33ec0d95985b73483f2970749f98

Changed Files

File Additions Deletions Status
monitor/mainloop.c +0 -3 modified

Full Patch

diff --git a/monitor/mainloop.c b/monitor/mainloop.c
index 8c94bfe..7f97e65 100644
--- a/monitor/mainloop.c
+++ b/monitor/mainloop.c
@@ -222,9 +222,6 @@ int mainloop_modify_fd(int fd, uint32_t events)
 	if (!data)
 		return -ENXIO;
 
-	if (data->events == events)
-		return 0;
-
 	memset(&ev, 0, sizeof(ev));
 	ev.events = events;
 	ev.data.ptr = data;