Cleanup: spaghetti function return path
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 21 Nov 2014 17:36:36 +0000 (18:36 +0100)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 24 Sep 2015 01:34:46 +0000 (21:34 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/live.c

index bbe419551274bc8a494f56f2fc7ae7dfab8ab5f3..428e61361cc3625df776f88f3af1979571738b6b 100644 (file)
@@ -813,14 +813,9 @@ int viewer_list_sessions(struct relay_connection *conn)
        }
        health_code_update();
 
-       rcu_read_unlock();
        ret = 0;
-       goto end;
-
 end_unlock:
        rcu_read_unlock();
-
-end:
        return ret;
 }
 
This page took 0.027233 seconds and 4 git commands to generate.