X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fht-cleanup.c;h=02244f0cafedf4aa44236d346fe3c658b7e368e6;hp=91c0544c3c8a28c8c8391b1d5f76b0927a48bab5;hb=ea6bf30f3684cf71633cb9f2c70ea0bc22b664c4;hpb=22a7367148c238daf481e8e6756cdb76a73fd3a0 diff --git a/src/bin/lttng-sessiond/ht-cleanup.c b/src/bin/lttng-sessiond/ht-cleanup.c index 91c0544c3..02244f0ca 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; }