From: Jonathan Rajotte Date: Tue, 13 Mar 2018 22:23:26 +0000 (-0400) Subject: Cleanup: ua_sess is never used create_ust_app_channel_context() X-Git-Tag: v2.11.0-rc1~203 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=c9edf0827990852b3d62402ebfb0e009c1b1e734;p=lttng-tools.git Cleanup: ua_sess is never used create_ust_app_channel_context() Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/ust-app.c b/src/bin/lttng-sessiond/ust-app.c index ed140f074..67dac65d5 100644 --- a/src/bin/lttng-sessiond/ust-app.c +++ b/src/bin/lttng-sessiond/ust-app.c @@ -2347,8 +2347,7 @@ end: * Called with UST app session lock held and a RCU read side lock. */ static -int create_ust_app_channel_context(struct ust_app_session *ua_sess, - struct ust_app_channel *ua_chan, +int create_ust_app_channel_context(struct ust_app_channel *ua_chan, struct lttng_ust_context_attr *uctx, struct ust_app *app) { @@ -5224,7 +5223,7 @@ int ust_app_add_ctx_channel_glb(struct ltt_ust_session *usess, } ua_chan = caa_container_of(ua_chan_node, struct ust_app_channel, node); - ret = create_ust_app_channel_context(ua_sess, ua_chan, &uctx->ctx, app); + ret = create_ust_app_channel_context(ua_chan, &uctx->ctx, app); if (ret < 0) { goto next_app; }