From: Mathieu Desnoyers Date: Fri, 21 Nov 2014 17:36:36 +0000 (+0100) Subject: Cleanup: spaghetti function return path X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=fe5b36ea157526c6a118c31b77f18eff48f46feb;p=lttng-tools.git Cleanup: spaghetti function return path Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-relayd/live.c b/src/bin/lttng-relayd/live.c index fe43e487e..93d458b1f 100644 --- a/src/bin/lttng-relayd/live.c +++ b/src/bin/lttng-relayd/live.c @@ -804,14 +804,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; }