Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadostin Stoyanov <rstoyanov1@gmail.com>2018-12-06 12:46:12 +0300
committerAndrei Vagin <avagin@gmail.com>2019-04-21 06:25:26 +0300
commit66ce84e67af66c5a9cc3fcbef308e044e23fa028 (patch)
treef8401a1fb7da2aec141b99c4d2825d36b3f64045 /include
parent738d081def460487a49ea035191f11d6197585dc (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/common/list.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/common/list.h b/include/common/list.h
index 4e33475c1..b8b57c784 100644
--- a/include/common/list.h
+++ b/include/common/list.h
@@ -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)