From: Mathieu Desnoyers Date: Thu, 4 Nov 2021 20:53:32 +0000 (-0400) Subject: Refactoring: remove unused event_recorder_return X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0cbffa442bc019f46a5f23bce292f51a2dc8be3e;p=lttng-modules.git Refactoring: remove unused event_recorder_return Signed-off-by: Mathieu Desnoyers Change-Id: I9edef31a9355abe6cd9065689a74a4ad9ef7f3ad --- diff --git a/src/lttng-events.c b/src/lttng-events.c index cd8efff1..bf4df826 100644 --- a/src/lttng-events.c +++ b/src/lttng-events.c @@ -1122,7 +1122,6 @@ struct lttng_kernel_event_recorder *_lttng_kernel_event_recorder_create(struct l case LTTNG_KERNEL_ABI_KRETPROBE: { struct lttng_kernel_event_common *event_return; - struct lttng_kernel_event_recorder *event_recorder_return; /* kretprobe defines 2 events */ /* @@ -1137,7 +1136,6 @@ struct lttng_kernel_event_recorder *_lttng_kernel_event_recorder_create(struct l ret = -ENOMEM; goto alloc_error; } - event_recorder_return = container_of(event_return, struct lttng_kernel_event_recorder, parent); event_return->enabled = 0; event_return->priv->registered = 1;