From: Jonathan Rajotte Date: Tue, 25 Jul 2017 18:03:36 +0000 (-0400) Subject: Cleanup: remove dead assignment X-Git-Tag: v2.11.0-rc1~490 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0f3d405741c89373f9eb51969f5cf9fccc5ce10d;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(