From aa4d011b75939959ecd411d82f1fae8ad0e8389d Mon Sep 17 00:00:00 2001 From: Lon Hohberger Date: Wed, 12 Aug 2009 13:21:36 -0400 Subject: [PATCH] Remove bad list_do/list_done macros Signed-off-by: Lon Hohberger --- include/list.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/include/list.h b/include/list.h index 9222500..0038f44 100644 --- a/include/list.h +++ b/include/list.h @@ -54,16 +54,6 @@ do { \ } \ } 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) {