Cleanup: useless reset of ret to zero
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 26 Jul 2017 14:53:53 +0000 (10:53 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 31 Jul 2017 17:17:15 +0000 (13:17 -0400)
ret is overwritten in the normal code flow.

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/ust-consumer.c

index 43bf2616a2c4a93ba91f81f2a6f60476289dbe7c..82fd0ea074e0519c2c6bac47c146295e6c861053 100644 (file)
@@ -321,7 +321,6 @@ int ust_consumer_get_channel(struct consumer_socket *socket,
                        free(stream);
                        if (ret == -LTTNG_UST_ERR_NOENT) {
                                DBG3("UST app consumer has no more stream available");
-                               ret = 0;
                                break;
                        }
                        if (ret != -EPIPE) {
This page took 0.027429 seconds and 4 git commands to generate.