Clean-up: remove useless assignment
[lttng-tools.git] / src / bin / lttng-sessiond / main.c
index 67df2fa2fbd0d5fd92545955327ba3bd81ba0f0d..0eb2db53815cbd2d0ff3f69f9218cef735c8b738 100644 (file)
@@ -1357,7 +1357,6 @@ restart:
                consumer_data->metadata_sock.lock = zmalloc(sizeof(pthread_mutex_t));
                if (consumer_data->metadata_sock.lock == NULL) {
                        PERROR("zmalloc pthread mutex");
-                       ret = -1;
                        goto error;
                }
                pthread_mutex_init(consumer_data->metadata_sock.lock, NULL);
This page took 0.025052 seconds and 5 git commands to generate.