Clean code base from redundant verification
[lttng-tools.git] / src / bin / lttng-sessiond / register.c
index 6ce25ad0f66a1f9af143b73e3937693d444bf334..e809834faa4632b961d19053145b39b23c0f9e9a 100644 (file)
@@ -239,11 +239,6 @@ static void *thread_application_registration(void *data)
                        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;
This page took 0.023151 seconds and 4 git commands to generate.