From: Jonathan Rajotte Date: Tue, 25 Jul 2017 18:03:36 +0000 (-0400) Subject: Cleanup: remove dead assignment X-Git-Tag: v2.10.0~35 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ccccfa99eaf73dc371b85c2f2cc2dfcf81741d11;p=lttng-tools.git Cleanup: remove dead assignment Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/cmd.c b/src/bin/lttng-sessiond/cmd.c index 58b81477b..a295059fb 100644 --- a/src/bin/lttng-sessiond/cmd.c +++ b/src/bin/lttng-sessiond/cmd.c @@ -3550,7 +3550,6 @@ int cmd_regenerate_statedump(struct ltt_session *session) ret = LTTNG_ERR_SESSION_NOT_STARTED; goto end; } - ret = 0; if (session->kernel_session) { ret = kernctl_session_regenerate_statedump(