Clean-up: remove dead assignment from ht cleanup thread launcher
[lttng-tools.git] / src / bin / lttng-sessiond / ht-cleanup.c
index 91c0544c3c8a28c8c8391b1d5f76b0927a48bab5..f5aab3309280daa9c4550b967334ebe8f6449278 100644 (file)
@@ -155,11 +155,6 @@ static void *thread_ht_cleanup(void *data)
                        revents = LTTNG_POLL_GETEV(&events, i);
                        pollfd = LTTNG_POLL_GETFD(&events, i);
 
-                       if (!revents) {
-                               /* No activity for this FD (poll implementation). */
-                               continue;
-                       }
-
                        if (pollfd != ht_cleanup_pipe[0]) {
                                continue;
                        }
@@ -274,7 +269,6 @@ struct lttng_thread *launch_ht_cleanup_thread(void)
                        cleanup_ht_cleanup_thread,
                        NULL);
        if (!thread) {
-               ret = -1;
                goto error;
        }
        return thread;
This page took 0.023718 seconds and 4 git commands to generate.