Cleanup: ctx is never used by monitor_timer()
[lttng-tools.git] / src / common / consumer / consumer-timer.c
index 9c10ddd251bce7f63060073340431374c8c0c9b8..cfbf443128696ed3cc9657732d6c28047c9169d2 100644 (file)
@@ -710,8 +710,7 @@ end:
  * Execute action on a monitor timer.
  */
 static
-void monitor_timer(struct lttng_consumer_local_data *ctx,
-               struct lttng_consumer_channel *channel)
+void monitor_timer(struct lttng_consumer_channel *channel)
 {
        int ret;
        int channel_monitor_pipe =
@@ -850,7 +849,7 @@ void *consumer_timer_thread(void *data)
                        struct lttng_consumer_channel *channel;
 
                        channel = info.si_value.sival_ptr;
-                       monitor_timer(ctx, channel);
+                       monitor_timer(channel);
                } else if (signr == LTTNG_CONSUMER_SIG_EXIT) {
                        assert(CMM_LOAD_SHARED(consumer_quit));
                        goto end;
This page took 0.024106 seconds and 5 git commands to generate.