X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=lttng-sessiond%2Fchannel.c;h=bf6a6e5aa3f61d27c14d3fc79f40974e9c4d6ff8;hb=daf282ab93462198c6acd16b4aa624635df1bea5;hp=5a22d2937f22a9d95de60f6a7126ff28671402b7;hpb=7885e399f12affe1933fcacce7f2dab311ed6761;p=lttng-tools.git diff --git a/lttng-sessiond/channel.c b/lttng-sessiond/channel.c index 5a22d2937..bf6a6e5aa 100644 --- a/lttng-sessiond/channel.c +++ b/lttng-sessiond/channel.c @@ -24,7 +24,7 @@ #include #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;