Skip to contentSkip to conversation

Cleanup: spaghetti function return path

PATCH Jérémie Galarneau 1 participant 1 message Nov 27, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Jérémie Galarneau

author Applied
#1 lore raw

Merged, thanks!

Jérémie

Quoted 27 lines · Mathieu Desnoyers
---
 src/bin/lttng-relayd/live.c | 5 -----
 1 file changed, 5 deletions(-)
src/bin/lttng-relayd/live.c +0 -6
index 2940b2c..a76f530 100644
@@ -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

Signature · 8 lines
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev