From ecb0535c9eacb85f95b02e4a9778eddb88785e71 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 22 May 2024 19:12:48 +0000 Subject: [PATCH] Clean-up: sessiond: session.hpp: remove duplicated comment MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I65eeb7af77bf9160f94bf6f9c381aeddccb4df31 Signed-off-by: Jérémie Galarneau --- src/bin/lttng-sessiond/session.hpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/bin/lttng-sessiond/session.hpp b/src/bin/lttng-sessiond/session.hpp index 8993f9468..587c9e083 100644 --- a/src/bin/lttng-sessiond/session.hpp +++ b/src/bin/lttng-sessiond/session.hpp @@ -319,12 +319,6 @@ namespace sessiond { */ ltt_session::locked_ptr find_locked_session_by_id(ltt_session::id_t id); -/* - * Session list lock must be acquired by the caller. - * The caller must not keep the ownership of the returned locked session - * for longer than strictly necessary. If your intention is to acquire - * a reference to an ltt_session, see `find_session_by_id()`. - */ ltt_session::sptr find_session_by_id(ltt_session::id_t id); } /* namespace sessiond */ -- 2.34.1