summaryrefslogtreecommitdiff
path: root/lib/lists.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lists.c')
-rw-r--r--lib/lists.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/lists.c b/lib/lists.c
index dc2e4cbb..8f95c7c2 100644
--- a/lib/lists.c
+++ b/lib/lists.c
@@ -110,15 +110,6 @@ add_head(list *l, node *n)
l->head = n;
}
-LIST_INLINE void
-self_link(node *n)
-{
- ASSUME(n->prev == NULL);
- ASSUME(n->next == NULL);
-
- n->prev = n->next = n;
-}
-
/**
* insert_node - insert a node to a list
* @n: a new list node