X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Flive.c;h=428e61361cc3625df776f88f3af1979571738b6b;hb=b21ebd59d1b269a51314e5708137cd7f38392a2a;hp=bbe419551274bc8a494f56f2fc7ae7dfab8ab5f3;hpb=19eba2998c1676926721980b94998a1bb211d275;p=lttng-tools.git 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; }