summaryrefslogtreecommitdiffstats
path: root/include/slist.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/slist.h')
-rw-r--r--include/slist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/slist.h b/include/slist.h
index ab7fa34..257b627 100644
--- a/include/slist.h
+++ b/include/slist.h
@@ -30,7 +30,7 @@ static inline void slist_add(struct slist_head *head, struct slist_head *t)
#define slist_entry(ptr, type, member) container_of(ptr,type,member)
#define slist_for_each(pos, head) \
- for (pos = (head)->next; pos && ({ prefetch(pos.next); 1; }); \
+ for (pos = (head)->next; pos; \
pos = pos->next)
#define slist_for_each_safe(pos, prev, next, head) \