From: Jonathan Rajotte Date: Wed, 14 Mar 2018 17:29:56 +0000 (-0400) Subject: Cleanup: chan is never used by save_agent_events() X-Git-Tag: v2.11.0-rc1~199 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=8cd0a98d17f481dbdf5df0550c28e25cd0649e66 Cleanup: chan is never used by save_agent_events() Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/save.c b/src/bin/lttng-sessiond/save.c index b7d0cc80a..6b1bf69c4 100644 --- a/src/bin/lttng-sessiond/save.c +++ b/src/bin/lttng-sessiond/save.c @@ -780,7 +780,6 @@ end: static int save_agent_events(struct config_writer *writer, - struct ltt_ust_channel *chan, struct agent *agent) { int ret; @@ -1254,7 +1253,7 @@ int save_ust_channel(struct config_writer *writer, * the "agent" events associated with this channel and serialize * them. */ - ret = save_agent_events(writer, ust_chan, agent); + ret = save_agent_events(writer, agent); if (ret) { goto end; }