From: Jérémie Galarneau Date: Wed, 11 Sep 2019 00:01:32 +0000 (-0400) Subject: Clean-up: remove dead assignment from thread_rotation X-Git-Tag: v2.11.0-rc4~63 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=db5e6fb134adba1a50de2926d741499121df2e12;p=lttng-tools.git Clean-up: remove dead assignment from thread_rotation 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 af09ca0a5..7bd6c6819 100644 --- a/src/bin/lttng-sessiond/rotation-thread.c +++ b/src/bin/lttng-sessiond/rotation-thread.c @@ -914,7 +914,6 @@ void *thread_rotation(void *data) ret = lttng_read(fd, &buf, 1); if (ret != 1) { ERR("[rotation-thread] Failed to read from wakeup pipe (fd = %i)", fd); - ret = -1; goto error; } } else {