X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-bytecode.c;fp=liblttng-ust%2Flttng-bytecode.c;h=67fb1a0677d0d14c4ebfa910971e59cf3dbca53a;hb=4b4a133740c87d9a851023a7aeb06b78d887e51b;hp=d4161fc3b451e0973af95729e823b08431ed9756;hpb=5f6daaef86c3b4cff5af523cbbd8f2630634259d;p=lttng-ust.git diff --git a/liblttng-ust/lttng-bytecode.c b/liblttng-ust/lttng-bytecode.c index d4161fc3..67fb1a06 100644 --- a/liblttng-ust/lttng-bytecode.c +++ b/liblttng-ust/lttng-bytecode.c @@ -577,16 +577,6 @@ void lttng_enabler_link_bytecode(struct lttng_ust_event_desc *event_desc, } } -/* - * We own the bytecode if we return success. - */ -int lttng_filter_enabler_attach_bytecode(struct lttng_enabler *enabler, - struct lttng_ust_bytecode_node *bytecode) -{ - cds_list_add(&bytecode->node, &enabler->filter_bytecode_head); - return 0; -} - static void free_filter_runtime(struct cds_list_head *bytecode_runtime_head) {