X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fregister.c;fp=src%2Fbin%2Flttng-sessiond%2Fregister.c;h=e809834faa4632b961d19053145b39b23c0f9e9a;hp=6ce25ad0f66a1f9af143b73e3937693d444bf334;hb=ea6bf30f3684cf71633cb9f2c70ea0bc22b664c4;hpb=22a7367148c238daf481e8e6756cdb76a73fd3a0 diff --git a/src/bin/lttng-sessiond/register.c b/src/bin/lttng-sessiond/register.c index 6ce25ad0f..e809834fa 100644 --- a/src/bin/lttng-sessiond/register.c +++ b/src/bin/lttng-sessiond/register.c @@ -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;