Fix unused variables
authorDavid Goulet <david.goulet@polymtl.ca>
Fri, 9 Dec 2011 14:24:58 +0000 (09:24 -0500)
committerDavid Goulet <david.goulet@polymtl.ca>
Fri, 9 Dec 2011 14:24:58 +0000 (09:24 -0500)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
lttng-sessiond/channel.c

index 5a22d2937f22a9d95de60f6a7126ff28671402b7..06b799db1d2132aab97e10ca2ad7e8970be1c10c 100644 (file)
@@ -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;
This page took 0.026134 seconds and 4 git commands to generate.