From: David Goulet Date: Fri, 9 Dec 2011 14:24:58 +0000 (-0500) Subject: Fix unused variables X-Git-Tag: v2.0-pre15~12 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3ffdb6251a74cd118b910249bde37e7c355941aa;p=lttng-tools.git Fix unused variables Signed-off-by: David Goulet --- diff --git a/lttng-sessiond/channel.c b/lttng-sessiond/channel.c index 5a22d2937..06b799db1 100644 --- a/lttng-sessiond/channel.c +++ b/lttng-sessiond/channel.c @@ -279,7 +279,6 @@ int channel_ust_disable(struct ltt_ust_session *usess, int domain, struct ltt_ust_channel *uchan) { int ret = LTTCOMM_OK; - struct cds_lfht *chan_ht; /* Already disabled */ if (uchan->enabled == 0) { @@ -291,8 +290,6 @@ int channel_ust_disable(struct ltt_ust_session *usess, int domain, switch (domain) { case LTTNG_DOMAIN_UST: DBG2("Channel %s being disabled in UST global domain", uchan->name); - chan_ht = usess->domain_global.channels; - /* Disable channel for global domain */ ret = ust_app_disable_channel_glb(usess, uchan); break;