From: Francis Deslauriers Date: Fri, 13 Dec 2019 15:17:30 +0000 (-0500) Subject: Cleanup: remove unused `lttng_bytecode_runtime::event` field X-Git-Tag: v2.13.0-rc1~540 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8e6ad0c1caf5bc9c8caef55f190ab9df38b06ebe;p=lttng-ust.git Cleanup: remove unused `lttng_bytecode_runtime::event` field Signed-off-by: Francis Deslauriers Signed-off-by: Mathieu Desnoyers Change-Id: Id946b69e8cb4e79415d221f0be0889cfe707b439 --- 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);