File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -128,21 +128,21 @@ rt_inline unsigned int rt_list_len(const rt_list_t *l)
128128
129129/**
130130 * rt_list_for_each - iterate over a list
131- * @pos: the rt_list_t * to use as a loop cursor.
132- * @head: the head for your list.
131+ * @pos: the rt_list_t * to use as a loop cursor.
132+ * @head: the head for your list.
133133 */
134134#define rt_list_for_each (pos , head ) \
135135 for (pos = (head)->next; pos != (head); pos = pos->next)
136136
137137/**
138138 * rt_list_for_each_safe - iterate over a list safe against removal of list entry
139- * @pos: the rt_list_t * to use as a loop cursor.
140- * @n: another rt_list_t * to use as temporary storage
141- * @head: the head for your list.
139+ * @pos: the rt_list_t * to use as a loop cursor.
140+ * @n: another rt_list_t * to use as temporary storage
141+ * @head: the head for your list.
142142 */
143143#define rt_list_for_each_safe (pos , n , head ) \
144- for (pos = (head)->next, n = pos->next; pos != (head); \
145- pos = n, n = pos->next)
144+ for (pos = (head)->next, n = pos->next; pos != (head); \
145+ pos = n, n = pos->next)
146146
147147/**
148148 * rt_list_for_each_entry - iterate over list of given type
You can’t perform that action at this time.
0 commit comments