diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/list.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/list.h b/include/linux/list.h index b83e5657365a..f4d8a2f12a33 100644 --- a/include/linux/list.h +++ b/include/linux/list.h | |||
@@ -381,17 +381,6 @@ static inline void list_splice_tail_init(struct list_head *list, | |||
381 | for (pos = (head)->next; pos != (head); pos = pos->next) | 381 | for (pos = (head)->next; pos != (head); pos = pos->next) |
382 | 382 | ||
383 | /** | 383 | /** |
384 | * __list_for_each - iterate over a list | ||
385 | * @pos: the &struct list_head to use as a loop cursor. | ||
386 | * @head: the head for your list. | ||
387 | * | ||
388 | * This variant doesn't differ from list_for_each() any more. | ||
389 | * We don't do prefetching in either case. | ||
390 | */ | ||
391 | #define __list_for_each(pos, head) \ | ||
392 | for (pos = (head)->next; pos != (head); pos = pos->next) | ||
393 | |||
394 | /** | ||
395 | * list_for_each_prev - iterate over a list backwards | 384 | * list_for_each_prev - iterate over a list backwards |
396 | * @pos: the &struct list_head to use as a loop cursor. | 385 | * @pos: the &struct list_head to use as a loop cursor. |
397 | * @head: the head for your list. | 386 | * @head: the head for your list. |