From ab959d7b4194715870128e616b8e29d4a101e488 Mon Sep 17 00:00:00 2001 From: etobi Date: Tue, 3 Sep 2013 09:48:41 +0200 Subject: Imported Upstream version 1.1.1+rev1207 --- util/scan/list.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util/scan/list.h') diff --git a/util/scan/list.h b/util/scan/list.h index 6032c22..931df96 100644 --- a/util/scan/list.h +++ b/util/scan/list.h @@ -26,7 +26,7 @@ struct list_head { } while (0) /* - * Insert a new entry between two known consecutive entries. + * Insert a new entry between two known consecutive entries. * * This is only for internal list manipulation where we know * the prev/next entries already! @@ -98,7 +98,7 @@ static __inline__ void list_del(struct list_head *entry) static __inline__ void list_del_init(struct list_head *entry) { __list_del(entry->prev, entry->next); - INIT_LIST_HEAD(entry); + INIT_LIST_HEAD(entry); } /** @@ -126,7 +126,7 @@ static __inline__ int list_empty(struct list_head *head) */ #define list_for_each(pos, head) \ for (pos = (head)->next; pos != (head); pos = pos->next) - + /** * list_for_each_safe - iterate over a list safe against removal of list entry * @pos: the &struct list_head to use as a loop counter. -- cgit v1.2.3