Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rcu: remove unused __list_for_each_rcu() macro

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>

-5
-5
include/linux/rculist.h
··· 241 241 #define list_first_entry_rcu(ptr, type, member) \ 242 242 list_entry_rcu((ptr)->next, type, member) 243 243 244 - #define __list_for_each_rcu(pos, head) \ 245 - for (pos = rcu_dereference_raw(list_next_rcu(head)); \ 246 - pos != (head); \ 247 - pos = rcu_dereference_raw(list_next_rcu(pos))) 248 - 249 244 /** 250 245 * list_for_each_entry_rcu - iterate over rcu list of given type 251 246 * @pos: the type * to use as a loop cursor.