From 55c54cce4c17b142fda2ba0556a0e280b246b108 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Mon, 30 Jan 2012 13:13:36 -0500 Subject: [PATCH] Remove useless variable Signed-off-by: David Goulet --- src/bin/lttng-sessiond/ust-app.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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) { -- 2.34.1