From: Jérémie Galarneau Date: Sat, 14 Jan 2023 04:47:35 +0000 (-0500) Subject: Clean-up: sessiond: remove useless LTTNG_ASSERT X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1060af5401d38578a731ec042cee2daf3b09b628;p=lttng-tools.git Clean-up: sessiond: remove useless LTTNG_ASSERT Signed-off-by: Jérémie Galarneau Change-Id: Iaa232da2f2a6d50b47b2144befee4c66d45caf91 --- diff --git a/src/bin/lttng-sessiond/save.cpp b/src/bin/lttng-sessiond/save.cpp index 7333c5093..c3d4c06ed 100644 --- a/src/bin/lttng-sessiond/save.cpp +++ b/src/bin/lttng-sessiond/save.cpp @@ -530,7 +530,6 @@ static int save_kernel_kprobe_event(struct config_writer *writer, struct ltt_ker symbol_name = addr ? nullptr : event->event->u.kretprobe.symbol_name; break; default: - LTTNG_ASSERT(1); ERR("Unsupported kernel instrumentation type."); ret = LTTNG_ERR_INVALID; goto end;