MCPcopy Create free account
hub / github.com/coreboot/coreboot / list_remove

Function list_remove

src/commonlib/list.c:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23void list_remove(struct list_node *node)
24{
25 /* Cannot remove the head node. */
26 assert(PREV(node) && NEXT(node));
27 NEXT(PREV(node)) = NEXT(node);
28 PREV(NEXT(node)) = PREV(node);
29}
30
31void list_insert_after(struct list_node *node, struct list_node *after)
32{

Callers 9

fit_update_memoryFunction · 0.85
dt_delete_propFunction · 0.85
list_popFunction · 0.85
dt_platform_fixup_phyFunction · 0.85
dt_platform_fixup_macFunction · 0.85
dt_platform_fixupFunction · 0.85
test_list_removeFunction · 0.85
test_list_remove_headFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_list_removeFunction · 0.68
test_list_remove_headFunction · 0.68