mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
list: Drop unused __list_for_each
The macro __list_for_each is equivalent to list_for_each and it is not used anywhere. Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com> Signed-off-by: Andrei Vagin <avagin@gmail.com>
This commit is contained in:
parent
738d081def
commit
66ce84e67a
1 changed files with 0 additions and 3 deletions
|
|
@ -216,9 +216,6 @@ static inline void list_splice_tail_init(struct list_head *list,
|
|||
#define list_for_each(pos, head) \
|
||||
for (pos = (head)->next; pos != (head); pos = pos->next)
|
||||
|
||||
#define __list_for_each(pos, head) \
|
||||
for (pos = (head)->next; pos != (head); pos = pos->next)
|
||||
|
||||
#define list_for_each_prev(pos, head) \
|
||||
for (pos = (head)->prev; pos != (head); pos = pos->prev)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue