From: Francis Deslauriers Date: Thu, 28 Nov 2019 19:26:20 +0000 (-0500) Subject: Cleanup: remove unused `lttng_free_enabler_filter_bytecode()` func X-Git-Tag: v2.13.0-rc1~542 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=fe65ab8285a8763a93c21860f4f5e4c68e756255;p=lttng-ust.git Cleanup: remove unused `lttng_free_enabler_filter_bytecode()` func Signed-off-by: Francis Deslauriers Signed-off-by: Mathieu Desnoyers Change-Id: Id9326aec2e6758ffffeb3eb9805bb0fa85d3076c --- diff --git a/liblttng-ust/lttng-filter.c b/liblttng-ust/lttng-filter.c index c0e93b65..ee562dd0 100644 --- a/liblttng-ust/lttng-filter.c +++ b/liblttng-ust/lttng-filter.c @@ -557,16 +557,6 @@ int lttng_filter_enabler_attach_bytecode(struct lttng_enabler *enabler, return 0; } -void lttng_free_enabler_filter_bytecode(struct lttng_enabler *enabler) -{ - struct lttng_ust_filter_bytecode_node *filter_bytecode, *tmp; - - cds_list_for_each_entry_safe(filter_bytecode, tmp, - &enabler->filter_bytecode_head, node) { - free(filter_bytecode); - } -} - void lttng_free_event_filter_runtime(struct lttng_event *event) { struct bytecode_runtime *runtime, *tmp;