From: Wang Sheng-Hui Date: Tue, 10 Jan 2012 23:08:32 +0000 (-0800) Subject: mm/migrate.c: remove the unused macro lru_to_page X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=faed836a2371a96901057f310e436a09eded94fd;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git mm/migrate.c: remove the unused macro lru_to_page lru_to_page is not used in mm/migrate.c. Signed-off-by: Wang Sheng-Hui Acked-by: Mel Gorman Acked-by: Kyungmin Park Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/migrate.c b/mm/migrate.c index 670bb8911cd1..89ea0854332e 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -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