X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=list.h;h=66c6d91525031261ff94cd3028e672cb340c06cd;hp=e4b5a1f67b066b73d2a89e0b2e9a7cd6eac00a66;hb=79a88784e0819c1bbe9de8d39a0e05997c8211f6;hpb=b0fe6d882dd35b01360a66e130d6714aff7b6a0d diff --git a/list.h b/list.h index e4b5a1f6..66c6d915 100644 --- a/list.h +++ b/list.h @@ -156,17 +156,6 @@ static inline int list_empty(const struct list_head *head) #define list_entry(ptr, type, member) \ container_of(ptr, type, member) -/** - * iterate over a list safe against removal of list entry - * - * \param pos the &struct list_head to use as a loop counter. - * \param n another &struct list_head to use as temporary storage - * \param head the head for your list. - */ -#define list_for_each_safe(pos, n, head) \ - for (pos = (head)->next, n = pos->next; pos != (head); \ - pos = n, n = pos->next) - /** * iterate over list of given type *