Don't open-code the list_head_init: left over from performance
debugging.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
children = add_child_property(parent, child);
if (!children)
return false;
children = add_child_property(parent, child);
if (!children)
return false;
- children->group.list.n.next = children->group.list.n.prev
- = &children->group.list.n;
+ list_head_init(&children->group.list);
/* Child links to itself. */
child->next = child;
/* Child links to itself. */
child->next = child;