From 3ffdb6251a74cd118b910249bde37e7c355941aa Mon Sep 17 00:00:00 2001 From: David Goulet Date: Fri, 9 Dec 2011 09:24:58 -0500 Subject: [PATCH] Fix unused variables Signed-off-by: David Goulet --- lttng-sessiond/channel.c | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.34.1