From: Jonathan Rajotte Date: Tue, 13 Mar 2018 16:48:22 +0000 (-0400) Subject: Cleanup: *_domain are never used by create_session X-Git-Tag: v2.11.0-rc1~217 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=194dfca0b76448fb6fa1daa28462031a68c138d8;p=lttng-tools.git Cleanup: *_domain are never used by create_session Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/config/session-config.c b/src/common/config/session-config.c index 0d75a088d..4d12870e8 100644 --- a/src/common/config/session-config.c +++ b/src/common/config/session-config.c @@ -1345,10 +1345,6 @@ end: static int create_session(const char *name, - struct lttng_domain *kernel_domain, - struct lttng_domain *ust_domain, - struct lttng_domain *jul_domain, - struct lttng_domain *log4j_domain, xmlNodePtr output_node, uint64_t live_timer_interval, const struct config_load_session_override_attr *overrides) @@ -2785,13 +2781,11 @@ domain_init_error: overrides); } else if (live_timer_interval && live_timer_interval != UINT64_MAX) { - ret = create_session((const char *) name, kernel_domain, - ust_domain, jul_domain, log4j_domain, + ret = create_session((const char *) name, output_node, live_timer_interval, overrides); } else { /* regular session */ - ret = create_session((const char *) name, kernel_domain, - ust_domain, jul_domain, log4j_domain, + ret = create_session((const char *) name, output_node, UINT64_MAX, overrides); } if (ret) {