aboutsummaryrefslogtreecommitdiff
path: root/util/fdmon-poll.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/fdmon-poll.c')
-rw-r--r--util/fdmon-poll.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/fdmon-poll.c b/util/fdmon-poll.c
index 5fe3b47..17df917 100644
--- a/util/fdmon-poll.c
+++ b/util/fdmon-poll.c
@@ -65,8 +65,7 @@ static int fdmon_poll_wait(AioContext *ctx, AioHandlerList *ready_list,
assert(npfd == 0);
QLIST_FOREACH_RCU(node, &ctx->aio_handlers, node) {
- if (!QLIST_IS_INSERTED(node, node_deleted) && node->pfd.events
- && aio_node_check(ctx, node->is_external)) {
+ if (!QLIST_IS_INSERTED(node, node_deleted) && node->pfd.events) {
add_pollfd(node);
}
}