Move hash table to common/ directory
[lttng-tools.git] / lttng-sessiond / channel.c
index 5a22d2937f22a9d95de60f6a7126ff28671402b7..bf6a6e5aa3f61d27c14d3fc79f40974e9c4d6ff8 100644 (file)
@@ -24,7 +24,7 @@
 #include <lttngerr.h>
 
 #include "channel.h"
-#include "hashtable.h"
+#include "../common/hashtable.h"
 #include "kernel.h"
 #include "ust-ctl.h"
 #include "utils.h"
@@ -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.025186 seconds and 5 git commands to generate.