summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-07-25 21:10:19 +0200
committerRichard Braun <rbraun@sceen.net>2017-07-25 21:10:19 +0200
commitb0a432c03e37664133c388e93b0ecbec82018689 (patch)
treee66be29c6a8347f0facde2978983b8ccda311f21
parent92b58ff6e9a2a82e5abb86b4e926d4fa22dfc2a3 (diff)
slist: fix slist_llsync_insert_after description
-rw-r--r--slist.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/slist.h b/slist.h
index 5bb1ceb..b3fb0a7 100644
--- a/slist.h
+++ b/slist.h
@@ -378,9 +378,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,