Clean code base from redundant verification
[lttng-tools.git] / src / bin / lttng-sessiond / dispatch.c
index 04b3954c070b956d826c36f52b177371ff386ec8..a637f23dea8e8e665b3a87b88644cc18a7337bb8 100644 (file)
@@ -144,11 +144,6 @@ static void sanitize_wait_queue(struct ust_reg_wait_queue *wait_queue)
                uint32_t revents = LTTNG_POLL_GETEV(&events, i);
                int pollfd = LTTNG_POLL_GETFD(&events, i);
 
-               if (!revents) {
-                       /* No activity for this FD (poll implementation). */
-                       continue;
-               }
-
                cds_list_for_each_entry_safe(wait_node, tmp_wait_node,
                                &wait_queue->head, head) {
                        if (pollfd == wait_node->app->sock &&
This page took 0.024612 seconds and 5 git commands to generate.