Prev: Use full path to dnsdomainname and domainname in scripts/mkcompile_h
Next: kprobetrace, doc: Add the explanation to remove probe points
From: KOSAKI Motohiro on 20 Jan 2010 01:10 commit 01b1ae63c2 (memcg: simple migration handling) removed mem_cgroup_uncharge_cache_page() call from migrate_page_copy. Then, now anon variable is unused. This patch remove it. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro(a)jp.fujitsu.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu(a)jp.fujitsu.com> Cc: Daisuke Nishimura <nishimura(a)mxp.nes.nec.co.jp> --- mm/migrate.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/mm/migrate.c b/mm/migrate.c index efddbf0..9e4a13f 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -275,8 +275,6 @@ static int migrate_page_move_mapping(struct address_space *mapping, */ static void migrate_page_copy(struct page *newpage, struct page *page) { - int anon; - copy_highpage(newpage, page); if (PageError(page)) @@ -313,8 +311,6 @@ static void migrate_page_copy(struct page *newpage, struct page *page) ClearPageSwapCache(page); ClearPagePrivate(page); set_page_private(page, 0); - /* page->mapping contains a flag for PageAnon() */ - anon = PageAnon(page); page->mapping = NULL; /* -- 1.6.5.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |