From 8e6ad0c1caf5bc9c8caef55f190ab9df38b06ebe Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Fri, 13 Dec 2019 10:17:30 -0500 Subject: [PATCH] Cleanup: remove unused `lttng_bytecode_runtime::event` field Signed-off-by: Francis Deslauriers Signed-off-by: Mathieu Desnoyers Change-Id: Id946b69e8cb4e79415d221f0be0889cfe707b439 --- include/lttng/ust-events.h | 1 - liblttng-ust/lttng-filter.c | 1 - 2 files changed, 2 deletions(-) diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index c1a85173..fd27396f 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -432,7 +432,6 @@ struct lttng_bytecode_runtime { int link_failed; struct cds_list_head node; /* list of bytecode runtime in event */ struct lttng_session *session; - struct lttng_event *event; }; /* diff --git a/liblttng-ust/lttng-filter.c b/liblttng-ust/lttng-filter.c index ee562dd0..ed41a0ef 100644 --- a/liblttng-ust/lttng-filter.c +++ b/liblttng-ust/lttng-filter.c @@ -438,7 +438,6 @@ int _lttng_filter_event_link_bytecode(struct lttng_event *event, } runtime->p.bc = filter_bytecode; runtime->p.session = event->chan->session; - runtime->p.event = event; runtime->len = filter_bytecode->bc.reloc_offset; /* copy original bytecode */ memcpy(runtime->code, filter_bytecode->bc.data, runtime->len); -- 2.34.1