wrapper: remove list wrapper
[lttng-modules.git] / wrapper / rcu.h
index 29f60947c05f2a3e6bbd975e4904630f0dd3ade3..b1877a49ea1429ba2d0ffe40241fa19e3cf964df 100644 (file)
@@ -13,7 +13,6 @@
 #include <linux/version.h>
 #include <linux/rculist.h>
 #include <linux/rcupdate.h>
-#include <wrapper/list.h>
 
 #ifndef rcu_dereference_raw_notrace
 #define rcu_dereference_raw_notrace(p) rcu_dereference_raw(p)
                &pos->member != (head); \
                pos = lttng_list_entry_rcu(pos->member.next, typeof(*pos), member))
 
-/**
- * lttng_hlist_for_each_entry_rcu - iterate over rcu list of given type (for tracing)
- * @pos:       the type * to use as a loop cursor.
- * @head:      the head for your list.
- * @member:    the name of the hlist_node within the struct.
- *
- * This list-traversal primitive may safely run concurrently with
- * the _rcu list-mutation primitives such as hlist_add_head_rcu()
- * as long as the traversal is guarded by rcu_read_lock().
- *
- * This is the same as hlist_for_each_entry_rcu() except that it does
- * not do any RCU debugging or tracing.
- */
-#define lttng_hlist_for_each_entry_rcu(pos, head, member)      \
-       for (pos = lttng_hlist_entry_safe (lttng_rcu_dereference(lttng_hlist_first_rcu(head)), \
-                       typeof(*(pos)), member);                \
-               pos;                                            \
-               pos = lttng_hlist_entry_safe(lttng_rcu_dereference(lttng_hlist_next_rcu( \
-                       &(pos)->member)), typeof(*(pos)), member))
-
 #endif /* _LTTNG_WRAPPER_RCU_H */
This page took 0.023964 seconds and 4 git commands to generate.