Refactoring: remove unused event_recorder_return
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 4 Nov 2021 20:53:32 +0000 (16:53 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 4 Nov 2021 20:53:32 +0000 (16:53 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I9edef31a9355abe6cd9065689a74a4ad9ef7f3ad

src/lttng-events.c

index cd8efff18778808404a9a34aa35ba64860a2c17c..bf4df8260bb3bf628b8cd2f08f092d2bb3ed7f06 100644 (file)
@@ -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;
This page took 0.028697 seconds and 4 git commands to generate.