llist: Add llist_next()
[deliverable/linux.git] / include / linux / llist.h
index 27bbdf5ddf82ced8a2f0e2ea33276123de74de8a..e2e96d04ee481cc07d05f0f7513089fb4e969d4a 100644 (file)
@@ -138,6 +138,11 @@ static inline bool llist_empty(const struct llist_head *head)
        return ACCESS_ONCE(head->first) == NULL;
 }
 
+static inline struct llist_node *llist_next(struct llist_node *node)
+{
+       return node->next;
+}
+
 /**
  * llist_add - add a new entry
  * @new:       new entry to be added
This page took 0.036301 seconds and 5 git commands to generate.