From: Jérémie Galarneau Date: Wed, 22 May 2024 19:12:48 +0000 (+0000) Subject: Clean-up: sessiond: session.hpp: remove duplicated comment X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ecb0535c9eacb85f95b02e4a9778eddb88785e71;p=lttng-tools.git Clean-up: sessiond: session.hpp: remove duplicated comment Change-Id: I65eeb7af77bf9160f94bf6f9c381aeddccb4df31 Signed-off-by: Jérémie Galarneau --- 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 */