Cleanup: ust_session_id unused by buffer_reg_uid_consumer_channel_key
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 13 Mar 2018 22:19:32 +0000 (18:19 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 1 Jun 2018 09:23:44 +0000 (05:23 -0400)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/buffer-registry.c
src/bin/lttng-sessiond/buffer-registry.h
src/bin/lttng-sessiond/ust-app.c

index 06e8f6b6a399030177ae2dfd955ef15baa927b2c..5db920781b5009d1a0b2b462e8e96c2825c24243 100644 (file)
@@ -334,8 +334,7 @@ end:
  */
 int buffer_reg_uid_consumer_channel_key(
                struct cds_list_head *buffer_reg_uid_list,
-               uint64_t usess_id, uint64_t chan_key,
-               uint64_t *consumer_chan_key)
+               uint64_t chan_key, uint64_t *consumer_chan_key)
 {
        struct lttng_ht_iter iter;
        struct buffer_reg_uid *uid_reg = NULL;
index db1ce0cbbbc821d338aa7edb3a81e2093e2e2084..d0d1575fd47e478ea57b6ae91aca6af6effd3189 100644 (file)
@@ -152,7 +152,6 @@ void buffer_reg_destroy_registries(void);
 
 int buffer_reg_uid_consumer_channel_key(
                struct cds_list_head *buffer_reg_uid_list,
-               uint64_t usess_id, uint64_t chan_key,
-               uint64_t *consumer_chan_key);
+               uint64_t chan_key, uint64_t *consumer_chan_key);
 
 #endif /* LTTNG_BUFFER_REGISTRY_H */
index 7da6f1aae821394abe9359709efb27ad8870baac..97083e15a95f7c5b1c919143e9724ff51fd4cbcc 100644 (file)
@@ -6149,8 +6149,7 @@ int ust_app_uid_get_channel_runtime_stats(uint64_t ust_session_id,
        *lost = 0;
 
        ret = buffer_reg_uid_consumer_channel_key(
-                       buffer_reg_uid_list, ust_session_id,
-                       uchan_id, &consumer_chan_key);
+                       buffer_reg_uid_list, uchan_id, &consumer_chan_key);
        if (ret < 0) {
                /* Not found */
                ret = 0;
This page took 0.030099 seconds and 4 git commands to generate.