summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2008-12-16 16:45:09 +1100
committerJeremy Kerr <jk@ozlabs.org>2008-12-16 16:45:09 +1100
commit01ed46e3e38a06120736d77c210ed0b165b0c7ce (patch)
treec3740f22e7bbbf44e1b8c18fdca9ea9e6e36c23b /lib
parent9057583b8b37d07eb9af2fd48674f1732fecda17 (diff)
downloadtalos-petitboot-01ed46e3e38a06120736d77c210ed0b165b0c7ce.tar.gz
talos-petitboot-01ed46e3e38a06120736d77c210ed0b165b0c7ce.zip
Use talloc for device handler destruction
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/list/list.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/list/list.h b/lib/list/list.h
index f78411e..3858cf6 100644
--- a/lib/list/list.h
+++ b/lib/list/list.h
@@ -30,13 +30,6 @@ struct list {
&pos->member != &(list)->head; \
pos = list_entry(pos->member.next, typeof(*pos), member))
-#define list_for_each_entry_safe(list, pos, n, member) \
- for (pos = list_entry((list)->head.next, typeof(*pos), member), \
- n = list_entry(pos->member.next, typeof(*pos), member); \
- &pos->member != &(list)->head; \
- pos = n, n = list_entry(n->member.next, typeof(*n), member))
-
-
void list_init(struct list *list);
void list_add(struct list *list, struct list_item *item);
OpenPOWER on IntegriCloud