Remove unneeded RCU lock
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 27 Aug 2015 21:30:37 +0000 (17:30 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 1 Sep 2015 16:03:08 +0000 (12:03 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/agent.c

index 7aaefdff28db06d6102a79476f3af05d33c64d57..ca2d4c872931632f4e5d46cb9c6b17b6b3d0d8ed 100644 (file)
@@ -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();
 }
 
 /*
This page took 0.026866 seconds and 4 git commands to generate.