Clean code base from redundant verification
[lttng-tools.git] / src / bin / lttng-sessiond / manage-consumer.c
index b710c61f80ed3d837aa03a92c511e0176e13fd10..fa802adc91e33cd7e3ba92edfc1546a5f50b9016 100644 (file)
@@ -134,11 +134,6 @@ void *thread_consumer_management(void *data)
 
                health_code_update();
 
-               if (!revents) {
-                       /* No activity for this FD (poll implementation). */
-                       continue;
-               }
-
                /* Thread quit pipe has been closed. Killing thread. */
                if (pollfd == quit_pipe_read_fd) {
                        err = 0;
@@ -298,11 +293,6 @@ void *thread_consumer_management(void *data)
 
                        health_code_update();
 
-                       if (!revents) {
-                               /* No activity for this FD (poll implementation). */
-                               continue;
-                       }
-
                        /*
                         * Thread quit pipe has been triggered, flag that we should stop
                         * but continue the current loop to handle potential data from
This page took 0.023076 seconds and 4 git commands to generate.