From 209bbcf97a622a45a5a99f55921198a510d70334 Mon Sep 17 00:00:00 2001 From: Sebastian Hack Date: Tue, 8 Nov 2005 15:29:56 +0000 Subject: [PATCH] Removed code from the old prefetch stuff in the linux kernel [r6896] --- ir/adt/list.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ir/adt/list.h b/ir/adt/list.h index 2f8a267e4..8713e363e 100644 --- a/ir/adt/list.h +++ b/ir/adt/list.h @@ -206,8 +206,7 @@ static INLINE void list_splice_init(struct list_head *list, * @param head the head for your list. */ #define list_for_each(pos, head) \ - for (pos = (head)->next, (pos->next); pos != (head); \ - pos = pos->next, (pos->next)) + for (pos = (head)->next; pos != (head); pos = pos->next) /** * __list_for_each - iterate over a list @@ -228,8 +227,7 @@ static INLINE void list_splice_init(struct list_head *list, * @param head the head for your list. */ #define list_for_each_prev(pos, head) \ - for (pos = (head)->prev, (pos->prev); pos != (head); \ - pos = pos->prev, (pos->prev)) + for (pos = (head)->prev; pos != (head); pos = pos->prev) /** * list_for_each_safe - iterate over a list safe against removal of list entry -- 2.20.1