diff options
| author | Bernard Xiong <[email protected]> | 2020-04-10 00:02:57 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2020-04-10 00:02:57 +0800 |
| commit | 310517b818ac4f0eb0655cf20bf4ba4543a911aa (patch) | |
| tree | e4c50400923a03b139922c3f0bdfb01f93ab7605 /include | |
| parent | e0bc6b86ea2588ab4b6b7c1fd1c9386a3a86c080 (diff) | |
[Kernel] Code cleanup
Diffstat (limited to 'include')
| -rw-r--r-- | include/rtservice.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/rtservice.h b/include/rtservice.h index 81d6c71f17..5bd2b1c23b 100644 --- a/include/rtservice.h +++ b/include/rtservice.h @@ -128,21 +128,21 @@ rt_inline unsigned int rt_list_len(const rt_list_t *l) /** * rt_list_for_each - iterate over a list - * @pos: the rt_list_t * to use as a loop cursor. - * @head: the head for your list. + * @pos: the rt_list_t * to use as a loop cursor. + * @head: the head for your list. */ #define rt_list_for_each(pos, head) \ for (pos = (head)->next; pos != (head); pos = pos->next) /** * rt_list_for_each_safe - iterate over a list safe against removal of list entry - * @pos: the rt_list_t * to use as a loop cursor. - * @n: another rt_list_t * to use as temporary storage - * @head: the head for your list. + * @pos: the rt_list_t * to use as a loop cursor. + * @n: another rt_list_t * to use as temporary storage + * @head: the head for your list. */ #define rt_list_for_each_safe(pos, n, head) \ - for (pos = (head)->next, n = pos->next; pos != (head); \ - pos = n, n = pos->next) + for (pos = (head)->next, n = pos->next; pos != (head); \ + pos = n, n = pos->next) /** * rt_list_for_each_entry - iterate over list of given type |
