From 66ce84e67af66c5a9cc3fcbef308e044e23fa028 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Thu, 6 Dec 2018 09:46:12 +0000 Subject: [PATCH] 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 Signed-off-by: Andrei Vagin --- include/common/list.h | 3 --- 1 file changed, 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)