Clean code base from redundant verification
[lttng-tools.git] / src / bin / lttng-sessiond / notify-apps.c
index bc7405c7b4bf4c586ad3393428f22b86280fb6a0..17f3cd0c8254f52cd0e57388d8dfe67105723f3e 100644 (file)
@@ -109,11 +109,6 @@ restart:
                        revents = LTTNG_POLL_GETEV(&events, i);
                        pollfd = LTTNG_POLL_GETFD(&events, i);
 
                        revents = LTTNG_POLL_GETEV(&events, i);
                        pollfd = LTTNG_POLL_GETFD(&events, i);
 
-                       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;
                        /* Thread quit pipe has been closed. Killing thread. */
                        if (pollfd == quit_pipe_read_fd) {
                                err = 0;
This page took 0.023405 seconds and 4 git commands to generate.