Clean-up: sessiond: remove useless LTTNG_ASSERT
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 14 Jan 2023 04:47:35 +0000 (23:47 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 17 Jan 2023 03:40:21 +0000 (22:40 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Iaa232da2f2a6d50b47b2144befee4c66d45caf91

src/bin/lttng-sessiond/save.cpp

index 7333c50930db01aad5cdc4dc3fa9e9530034dcc0..c3d4c06ed4ac8e6f9c85d41e68e33f35d9babba1 100644 (file)
@@ -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;
This page took 0.027572 seconds and 4 git commands to generate.