summaryrefslogtreecommitdiff
path: root/lib/command_graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command_graph.h')
-rw-r--r--lib/command_graph.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/command_graph.h b/lib/command_graph.h
index 32a07ce4ea..35a0eee273 100644
--- a/lib/command_graph.h
+++ b/lib/command_graph.h
@@ -42,13 +42,10 @@ struct graph_node
/*
* Adds a node as a child of another node.
- * If the new parent has a child that is equal to the prospective child, as
- * determined by cmp_node, then a pointer to the existing node is returned and
- * the prospective child is not added. Otherwise the child node is returned.
*
* @param[in] parent node
* @param[in] child node
- * @return pointer to child if it is added, pointer to existing child otherwise
+ * @return child node, for convenience
*/
struct graph_node *
add_node(struct graph_node *, struct graph_node *);