X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fht-cleanup.c;h=f5aab3309280daa9c4550b967334ebe8f6449278;hp=91c0544c3c8a28c8c8391b1d5f76b0927a48bab5;hb=f2e086eddce40fb3b772f50f4cd8023f2cc2a10f;hpb=df119599f9c1994b5f4a9f6f562581bee13c0f13 diff --git a/src/bin/lttng-sessiond/ht-cleanup.c b/src/bin/lttng-sessiond/ht-cleanup.c index 91c0544c3..f5aab3309 100644 --- a/src/bin/lttng-sessiond/ht-cleanup.c +++ b/src/bin/lttng-sessiond/ht-cleanup.c @@ -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;