X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Flist.c;h=dcf45066262cf3e0371adcf1f5d77d31d9673695;hp=418fccf7c9102387b0c7ede6a74c36ed6d569634;hb=e223f308e0f0899d4c6d129922cad25d3b718efc;hpb=d113fbc8270a4c2089c6e1aa1f5f5c5bb3f4c9dd;ds=sidebyside diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index 418fccf7c..dcf450662 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng/commands/list.c @@ -645,7 +645,6 @@ static int mi_list_ust_event_fields(struct lttng_event_field *fields, int count, if (cur_pid != fields[i].event.pid) { if (pid_element_open) { if (event_element_open) { - /* Close the previous field element and event. */ ret = mi_lttng_close_multi_element(writer, 2); if (ret) {