From: Jérémie Galarneau Date: Thu, 27 Aug 2015 21:30:37 +0000 (-0400) Subject: Remove unneeded RCU lock X-Git-Tag: v2.8.0-rc1~452 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ab21818442628467073e8d2b303f6d5d78a090f5;p=lttng-tools.git Remove unneeded RCU lock Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/agent.c b/src/bin/lttng-sessiond/agent.c index 7aaefdff2..ca2d4c872 100644 --- a/src/bin/lttng-sessiond/agent.c +++ b/src/bin/lttng-sessiond/agent.c @@ -789,9 +789,7 @@ void agent_add(struct agent *agt, struct lttng_ht *ht) DBG3("Agent adding from domain %d", agt->domain); - rcu_read_lock(); lttng_ht_add_unique_u64(ht, &agt->node); - rcu_read_unlock(); } /*