From: David Goulet Date: Mon, 30 Jan 2012 18:13:36 +0000 (-0500) Subject: Remove useless variable X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=55c54cce4c17b142fda2ba0556a0e280b246b108 Remove useless variable Signed-off-by: David Goulet --- 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) {