diff options
author | Wang Sheng-Hui <shhuiw@gmail.com> | 2012-01-10 15:08:32 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-10 16:30:46 -0800 |
commit | faed836a2371a96901057f310e436a09eded94fd (patch) | |
tree | 3f6f0b09d80afb5f38feffadcf33c104a53c63e0 | |
parent | ea5768c74b8e0d6a866508fc6399d5ff958da5e3 (diff) | |
download | linux-3.10-faed836a2371a96901057f310e436a09eded94fd.tar.gz linux-3.10-faed836a2371a96901057f310e436a09eded94fd.tar.bz2 linux-3.10-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>
-rw-r--r-- | mm/migrate.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/migrate.c b/mm/migrate.c index 670bb8911cd..89ea0854332 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 |