Cleanup: unused assignment of ret_code in ROTATE_CHANNEL
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 29 Aug 2018 22:06:25 +0000 (18:06 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 30 Aug 2018 16:49:44 +0000 (12:49 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/kernel-consumer/kernel-consumer.c
src/common/ust-consumer/ust-consumer.c

index f1c38ccbfa8c6ec5f18ca64fbe6d58dbb4442dbf..87ade12fa33a32e71dd52cc685a6f3acb02e967b 100644 (file)
@@ -1151,7 +1151,6 @@ int lttng_kconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
                                msg.u.rotate_channel.key, ctx);
                if (ret < 0) {
                        ERR("Rotate ready streams failed");
-                       ret_code = LTTCOMM_CONSUMERD_CHAN_NOT_FOUND;
                }
 
                break;
index 81c9e72fe7456ebb53dea49f3d5af1a314b2958d..22efc3956656136ff3f5465a17b3bc68a1f782a2 100644 (file)
@@ -2005,7 +2005,6 @@ int lttng_ustconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
                                msg.u.rotate_channel.key, ctx);
                if (ret < 0) {
                        ERR("Rotate channel failed");
-                       ret_code = LTTCOMM_CONSUMERD_CHAN_NOT_FOUND;
                }
                break;
        }
This page took 0.027103 seconds and 4 git commands to generate.