Commit faed836a authored by Wang Sheng-Hui's avatar Wang Sheng-Hui Committed by Linus Torvalds

mm/migrate.c: remove the unused macro lru_to_page

lru_to_page is not used in mm/migrate.c.
Signed-off-by: default avatarWang Sheng-Hui <shhuiw@gmail.com>
Acked-by: default avatarMel Gorman <mgorman@suse.de>
Acked-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ea5768c7
......@@ -39,8 +39,6 @@
#include "internal.h"
#define lru_to_page(_head) (list_entry((_head)->prev, struct page, lru))
/*
* migrate_prep() needs to be called before we start compiling a list of pages
* to be migrated using isolate_lru_page(). If scheduling work on other CPUs is
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment