]> Pileus Git - ~andy/linux/blobdiff - include/linux/list.h
linked-list: Remove __list_for_each
[~andy/linux] / include / linux / list.h
index b83e5657365adcd30bd816d7d0e57ce3d3691980..f4d8a2f12a33263b63ebc50fc61d8d7b5b3eb6d3 100644 (file)
@@ -380,17 +380,6 @@ static inline void list_splice_tail_init(struct list_head *list,
 #define list_for_each(pos, head) \
        for (pos = (head)->next; pos != (head); pos = pos->next)
 
-/**
- * __list_for_each     -       iterate over a list
- * @pos:       the &struct list_head to use as a loop cursor.
- * @head:      the head for your list.
- *
- * This variant doesn't differ from list_for_each() any more.
- * We don't do prefetching in either case.
- */
-#define __list_for_each(pos, head) \
-       for (pos = (head)->next; pos != (head); pos = pos->next)
-
 /**
  * list_for_each_prev  -       iterate over a list backwards
  * @pos:       the &struct list_head to use as a loop cursor.