Clean-up relayd: session_release can be marked as static
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 22 Nov 2019 23:37:28 +0000 (18:37 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 22 Nov 2019 23:37:28 +0000 (18:37 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/session.c

index 05a1dc215f6d01d070a416cdb2ec483f314072d0..241a3c23fea88fbb8f953c0316187a5ba8b631fd 100644 (file)
@@ -437,7 +437,7 @@ static void destroy_session(struct relay_session *session)
        call_rcu(&session->rcu_node, rcu_destroy_session);
 }
 
        call_rcu(&session->rcu_node, rcu_destroy_session);
 }
 
-void session_release(struct urcu_ref *ref)
+static void session_release(struct urcu_ref *ref)
 {
        struct relay_session *session =
                        caa_container_of(ref, struct relay_session, ref);
 {
        struct relay_session *session =
                        caa_container_of(ref, struct relay_session, ref);
This page took 0.034599 seconds and 4 git commands to generate.