Cleanup: remove unused `lttng_free_enabler_filter_bytecode()` func
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 28 Nov 2019 19:26:20 +0000 (14:26 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 13 Feb 2020 17:12:25 +0000 (12:12 -0500)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Id9326aec2e6758ffffeb3eb9805bb0fa85d3076c

liblttng-ust/lttng-filter.c

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