[lttng-dev] [PATCH lttng-tools] Cleanup: spaghetti function return path

Jérémie Galarneau jeremie.galarneau at efficios.com
Thu Nov 27 17:30:22 EST 2014


Merged, thanks!

Jérémie

On Fri, Nov 21, 2014 at 12:36 PM, Mathieu Desnoyers
<mathieu.desnoyers at efficios.com> wrote:
> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
> ---
>  src/bin/lttng-relayd/live.c | 5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/src/bin/lttng-relayd/live.c b/src/bin/lttng-relayd/live.c
> index 2940b2c..a76f530 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;
>  }
>
> --
> 2.1.1
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list