X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.c;h=da24f81c50a3eac71108d007d3a3d4e5b4124583;hb=be2b50c7b31b4ee99c62cc60ed1be74cef3fc61e;hp=7acb8560ca4e07bfdccc89518477dad6a8d79051;hpb=e5d1a9b33aa0920bbd9f6948bd0676156da67c61;p=lttng-tools.git diff --git a/src/common/consumer.c b/src/common/consumer.c index 7acb8560c..da24f81c5 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -2197,11 +2197,6 @@ restart: revents = LTTNG_POLL_GETEV(&events, i); pollfd = LTTNG_POLL_GETFD(&events, i); - /* Just don't waste time if no returned events for the fd */ - if (!revents) { - continue; - } - if (pollfd == lttng_pipe_get_readfd(ctx->consumer_metadata_pipe)) { if (revents & (LPOLLERR | LPOLLHUP )) { DBG("Metadata thread pipe hung up");