]> bbs.cooldavid.org Git - net-next-2.6.git/commit - mm/page_isolation.c
mm: page_isolation: codeclean fix comment and rm unneeded val init
authorBob Liu <lliubbo@gmail.com>
Tue, 26 Oct 2010 21:22:09 +0000 (14:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Oct 2010 23:52:11 +0000 (16:52 -0700)
commitf6a3607e5f30dc642bead8cd95c48d47b6b4bfbb
tree42a2f04238eb2090e1d13914f92489e4029b4a2d
parent572438f9b52236bd8938b1647cc15e027d27ef55
mm: page_isolation: codeclean fix comment and rm unneeded val init

__test_page_isolated_in_pageblock() returns 1 if all pages in the range
are isolated, so fix the comment.  Variable `pfn' will be initialised in
the following loop so remove it.

Signed-off-by: Bob Liu <lliubbo@gmail.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_isolation.c