summaryrefslogtreecommitdiffstats
path: root/mm/migrate.c
diff options
context:
space:
mode:
authorWang Sheng-Hui <shhuiw@gmail.com>2012-01-10 15:08:32 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-10 16:30:46 -0800
commitfaed836a2371a96901057f310e436a09eded94fd (patch)
tree3f6f0b09d80afb5f38feffadcf33c104a53c63e0 /mm/migrate.c
parentea5768c74b8e0d6a866508fc6399d5ff958da5e3 (diff)
downloadlinux-faed836a2371a96901057f310e436a09eded94fd.tar.gz
linux-faed836a2371a96901057f310e436a09eded94fd.tar.bz2
linux-faed836a2371a96901057f310e436a09eded94fd.zip
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 <shhuiw@gmail.com> Acked-by: Mel Gorman <mgorman@suse.de> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/migrate.c')
-rw-r--r--mm/migrate.c2
1 files changed, 0 insertions, 2 deletions
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