diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-10-20 12:33:37 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-11-13 14:08:21 -0800 |
commit | bb08f76d8419a163b7a4212a0e4ea6bd25acacd1 (patch) | |
tree | 5b7ab38527a87c08289f5c8de0f10038172624f1 /include/linux/rculist.h | |
parent | 878d7439d0f45a95869e417576774673d1fa243f (diff) | |
download | linux-bb08f76d8419a163b7a4212a0e4ea6bd25acacd1.tar.gz linux-bb08f76d8419a163b7a4212a0e4ea6bd25acacd1.tar.bz2 linux-bb08f76d8419a163b7a4212a0e4ea6bd25acacd1.zip |
rcu: Remove list_for_each_continue_rcu()
The list_for_each_continue_rcu() macro is no longer used, so this commit
removes it. The list_for_each_entry_continue_rcu() macro should be
used instead.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/rculist.h')
-rw-r--r-- | include/linux/rculist.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/linux/rculist.h b/include/linux/rculist.h index e0f0fab20415..c92dd28eaa6c 100644 --- a/include/linux/rculist.h +++ b/include/linux/rculist.h @@ -286,23 +286,6 @@ static inline void list_splice_init_rcu(struct list_head *list, &pos->member != (head); \ pos = list_entry_rcu(pos->member.next, typeof(*pos), member)) - -/** - * list_for_each_continue_rcu - * @pos: the &struct list_head to use as a loop cursor. - * @head: the head for your list. - * - * Iterate over an rcu-protected list, continuing after current point. - * - * This list-traversal primitive may safely run concurrently with - * the _rcu list-mutation primitives such as list_add_rcu() - * as long as the traversal is guarded by rcu_read_lock(). - */ -#define list_for_each_continue_rcu(pos, head) \ - for ((pos) = rcu_dereference_raw(list_next_rcu(pos)); \ - (pos) != (head); \ - (pos) = rcu_dereference_raw(list_next_rcu(pos))) - /** * list_for_each_entry_continue_rcu - continue iteration over list of given type * @pos: the type * to use as a loop cursor. |