From: Jérémie Galarneau Date: Thu, 27 Aug 2015 21:30:21 +0000 (-0400) Subject: Remove unneeded RCU lock X-Git-Tag: v2.8.0-rc1~453 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=345e47a1c109b0192e3822c6a3d28b3880730157;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 e68b680c2..7aaefdff2 100644 --- a/src/bin/lttng-sessiond/agent.c +++ b/src/bin/lttng-sessiond/agent.c @@ -716,10 +716,7 @@ void agent_add_app(struct agent_app *app) assert(app); DBG3("Agent adding app sock: %d and pid: %d to ht", app->sock->fd, app->pid); - - rcu_read_lock(); lttng_ht_add_unique_ulong(agent_apps_ht_by_sock, &app->node); - rcu_read_unlock(); } /*