X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-app.c;h=39dd9ba36e004e448915239063a1ddcf34253671;hb=55c54cce4c17b142fda2ba0556a0e280b246b108;hp=46799dc63982e0a4729c7030abdb408074baf547;hpb=e38021f8f79da8418fa432b58e46e3af5f366e7b;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-app.c b/src/bin/lttng-sessiond/ust-app.c index 46799dc63..39dd9ba36 100644 --- a/src/bin/lttng-sessiond/ust-app.c +++ b/src/bin/lttng-sessiond/ust-app.c @@ -2202,7 +2202,7 @@ int ust_app_destroy_trace_all(struct ltt_ust_session *usess) */ void ust_app_global_update(struct ltt_ust_session *usess, int sock) { - int ret = 0, ctx_on_chan = 0; + int ret = 0; struct lttng_ht_iter iter, uiter, iter_ctx; struct ust_app *app; struct ust_app_session *ua_sess; @@ -2277,9 +2277,6 @@ void ust_app_global_update(struct ltt_ust_session *usess, int sock) } } } - - /* Reset flag */ - ctx_on_chan = 0; } if (usess->start_trace) {