Clean-up: remove unreachable goto
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.c
index e3995bdf612d0e82a2fea38e0c4008fd4795b8f2..7c9eb4ff352224b237d9473e3c915c21fc70175f 100644 (file)
@@ -5955,7 +5955,7 @@ int ust_app_pid_get_channel_runtime_stats(struct ltt_ust_session *usess,
                }
 
                /* Get channel */
-               lttng_ht_lookup(ua_sess->channels, (void *)uchan->name, &uiter);
+               lttng_ht_lookup(ua_sess->channels, (void *) uchan->name, &uiter);
                ua_chan_node = lttng_ht_iter_get_node_str(&uiter);
                /* If the session is found for the app, the channel must be there */
                assert(ua_chan_node);
@@ -5971,7 +5971,6 @@ int ust_app_pid_get_channel_runtime_stats(struct ltt_ust_session *usess,
                                        ua_chan->key, consumer, discarded);
                        goto end;
                }
-               goto end;
        }
 
 end:
This page took 0.02355 seconds and 4 git commands to generate.