From: Jérémie Galarneau Date: Thu, 30 Aug 2018 19:37:51 +0000 (-0400) Subject: Cleanup: unused assignation on rotation already pending X-Git-Tag: v2.11.0-rc1~12 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=753f4df1c2a5090c772aee207bafe7839d288b2a Cleanup: unused assignation on rotation already pending Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/rotation-thread.c b/src/bin/lttng-sessiond/rotation-thread.c index 900892bdb..01a963c25 100644 --- a/src/bin/lttng-sessiond/rotation-thread.c +++ b/src/bin/lttng-sessiond/rotation-thread.c @@ -691,7 +691,6 @@ int handle_condition( ret = cmd_rotate_session(session, NULL); if (ret == -LTTNG_ERR_ROTATION_PENDING) { DBG("Rotate already pending, subscribe to the next threshold value"); - ret = 0; } else if (ret != LTTNG_OK) { ERR("[rotation-thread] Failed to rotate on size notification with error: %s", lttng_strerror(ret));