Clean-up: remove dead assignment from thread_rotation
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 11 Sep 2019 00:01:32 +0000 (20:01 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 19 Sep 2019 19:31:48 +0000 (15:31 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/rotation-thread.c

index af09ca0a5cb633bd04681ed382082b60689f7629..7bd6c681982fe1c18b6f0b039176650f17d6af2a 100644 (file)
@@ -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 {
This page took 0.037415 seconds and 4 git commands to generate.