From: Mathieu Desnoyers Date: Thu, 22 Apr 2021 15:05:33 +0000 (-0400) Subject: Remove unused tp_list_for_each_entry_rcu X-Git-Tag: v2.13.0-rc1~26 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=fa4bbfab3dc67d370ba307d98cb298da0d1bd36b;p=lttng-ust.git Remove unused tp_list_for_each_entry_rcu Signed-off-by: Mathieu Desnoyers Change-Id: I27925f8a3c23ab2bf18ad967df04afadae332801 --- diff --git a/include/lttng/ust-tracepoint-event.h b/include/lttng/ust-tracepoint-event.h index cec6239e..1f57f98a 100644 --- a/include/lttng/ust-tracepoint-event.h +++ b/include/lttng/ust-tracepoint-event.h @@ -20,12 +20,6 @@ #define LTTNG_UST__NULL_STRING "(null)" -#undef tp_list_for_each_entry_rcu -#define tp_list_for_each_entry_rcu(pos, head, member) \ - for (pos = cds_list_entry(lttng_ust_tp_rcu_dereference((head)->next), __typeof__(*pos), member); \ - &pos->member != (head); \ - pos = cds_list_entry(lttng_ust_tp_rcu_dereference(pos->member.next), __typeof__(*pos), member)) - /* * LTTNG_UST_TRACEPOINT_EVENT_CLASS declares a class of tracepoints receiving the * same arguments and having the same field layout.