Remove bad list_do/list_done macros

Signed-off-by: Lon Hohberger <lhh@redhat.com>
This commit is contained in:
Lon Hohberger 2009-08-12 13:21:36 -04:00
parent 214f9b65bf
commit aa4d011b75

View File

@ -54,16 +54,6 @@ do { \
} \ } \
} while (0) } while (0)
/*
list_do(list, node) {
stuff;
} while (!list_done(list, node));
*/
#define list_do(list, curr) \
if (*list && (curr = *list)) do
#define list_done(list, curr) \
(curr && (((curr = (void *)le(curr)->le_next)) && (curr == *list)))
/* /*
* list_for(list, tmp, counter) { * list_for(list, tmp, counter) {