summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kern/slist.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/kern/slist.h b/kern/slist.h
index 0e26c05f..dd6a2d79 100644
--- a/kern/slist.h
+++ b/kern/slist.h
@@ -347,9 +347,7 @@ slist_llsync_insert_tail(struct slist *list, struct slist_node *node)
/*
* Insert a node after another node.
*
- * The prev argument is used to determine the insertion point. It may safely
- * denote the end of the given list, in which case the node is inserted at
- * the head of the list.
+ * The prev node must be valid.
*/
static inline void
slist_llsync_insert_after(struct slist *list, struct slist_node *prev,