From 62256275eae6b397d25d43ad2ffd5d30cee2764d Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 29 May 2024 18:32:44 +0000 Subject: [PATCH] clang-tidy: sessiond: superfluous static specifier MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit clang-tidy reports: 'get_session_registry' is a static definition in anonymous namespace; static is redundant here Remove the redundant static specifier. Change-Id: Iae7be221cde1f0789d3c3a560f1ea70d4d4e5e7a Signed-off-by: Jérémie Galarneau --- src/bin/lttng-sessiond/ust-app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/lttng-sessiond/ust-app.cpp b/src/bin/lttng-sessiond/ust-app.cpp index 8f0375bc5..6e7b3f5e1 100644 --- a/src/bin/lttng-sessiond/ust-app.cpp +++ b/src/bin/lttng-sessiond/ust-app.cpp @@ -85,7 +85,7 @@ namespace { * A registry per UID object MUST exists before calling this function or else * it LTTNG_ASSERT() if not found. RCU read side lock must be acquired. */ -static lsu::registry_session *get_session_registry(const struct ust_app_session *ua_sess) +lsu::registry_session *get_session_registry(const struct ust_app_session *ua_sess) { lsu::registry_session *registry = nullptr; -- 2.34.1