From: Mathieu Desnoyers Date: Fri, 21 Nov 2014 17:36:36 +0000 (+0100) Subject: Cleanup: spaghetti function return path X-Git-Tag: v2.6.1~57 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b21ebd59d1b269a51314e5708137cd7f38392a2a;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 bbe419551..428e61361 100644 --- a/src/bin/lttng-relayd/live.c +++ b/src/bin/lttng-relayd/live.c @@ -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; }