From fa4bbfab3dc67d370ba307d98cb298da0d1bd36b Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 22 Apr 2021 11:05:33 -0400 Subject: [PATCH] Remove unused tp_list_for_each_entry_rcu Signed-off-by: Mathieu Desnoyers Change-Id: I27925f8a3c23ab2bf18ad967df04afadae332801 --- include/lttng/ust-tracepoint-event.h | 6 ------ 1 file changed, 6 deletions(-) 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. -- 2.34.1