Skip to content

Commit 310517b

Browse files
committed
[Kernel] Code cleanup
1 parent e0bc6b8 commit 310517b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

include/rtservice.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)