Subject: [merged] list-remove-__list_for_each.patch removed from -mm tree To: davej@xxxxxxxxxx,Jennifer.Naumann@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,airlied@xxxxxxxx,clemens@xxxxxxxxxx,davem@xxxxxxxxxxxxx,gregkh@xxxxxxxxxxxxxxxxxxx,linville@xxxxxxxxxxxxx,nhorman@xxxxxxxxxxxxx,perex@xxxxxxxx,snsehahn@xxxxxxxxxxxxx,stas.yakovlev@xxxxxxxxx,tiwai@xxxxxxx,vyasevich@xxxxxxxxx,yamanetoshi@xxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Wed, 17 Jul 2013 12:42:19 -0700 The patch titled Subject: list: remove __list_for_each() has been removed from the -mm tree. Its filename was list-remove-__list_for_each.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Dave Jones <davej@xxxxxxxxxx> Subject: list: remove __list_for_each() __list_for_each used to be the non prefetch() aware list walking primitive. When we removed the prefetch macros from the list routines, it became redundant. Given it does exactly the same thing as list_for_each now, we might as well remove it and call list_for_each directly. Signed-off-by: Dave Jones <davej@xxxxxxxxxx> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx> Cc: "John W. Linville" <linville@xxxxxxxxxxxxx> Cc: Clemens Ladisch <clemens@xxxxxxxxxx> Cc: Dave Airlie <airlied@xxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Cc: Jaroslav Kysela <perex@xxxxxxxx> Cc: Jennifer Naumann <Jennifer.Naumann@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> Cc: Neil Horman <nhorman@xxxxxxxxxxxxx> Cc: Sebastian Hahn <snsehahn@xxxxxxxxxxxxx> Cc: Stanislav Yakovlev <stas.yakovlev@xxxxxxxxx> Cc: Takashi Iwai <tiwai@xxxxxxx> Cc: Vlad Yasevich <vyasevich@xxxxxxxxx> Cc: YAMANE Toshiaki <yamanetoshi@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/list.h | 11 ----------- 1 file changed, 11 deletions(-) diff -puN include/linux/list.h~list-remove-__list_for_each include/linux/list.h --- a/include/linux/list.h~list-remove-__list_for_each +++ a/include/linux/list.h @@ -381,17 +381,6 @@ static inline void list_splice_tail_init for (pos = (head)->next; pos != (head); pos = pos->next) /** - * __list_for_each - iterate over a list - * @pos: the &struct list_head to use as a loop cursor. - * @head: the head for your list. - * - * This variant doesn't differ from list_for_each() any more. - * We don't do prefetching in either case. - */ -#define __list_for_each(pos, head) \ - for (pos = (head)->next; pos != (head); pos = pos->next) - -/** * list_for_each_prev - iterate over a list backwards * @pos: the &struct list_head to use as a loop cursor. * @head: the head for your list. _ Patches currently in -mm which might be from davej@xxxxxxxxxx are origin.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html