Clean-up: mi: remove logically dead code
[lttng-tools.git] / src / common / mi-lttng.c
index bd5049efea8b8b88b5b833ad98763a58305a884c..f9f1e225aec32f1b383022e4a2afb55b2e9f90da 100644 (file)
@@ -1743,9 +1743,6 @@ int mi_lttng_id_target(struct mi_writer *writer,
                ret = -LTTNG_ERR_INVALID;
                goto end;
        }
-       if (ret) {
-               goto end;
-       }
 
        if (!is_open) {
                ret = mi_lttng_writer_close_element(writer);
This page took 0.032182 seconds and 5 git commands to generate.