mm: mminit_validate_memmodel_limits(): remove redundant test
commitef161a9863b045909142daea9490b067997f3dc5
authorCyrill Gorcunov <gorcunov@gmail.com>
Tue, 31 Mar 2009 22:19:25 +0000 (31 15:19 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:11 +0000 (1 08:59 -0700)
tree2cf6aa8a617110c7680978b8aaceea87ec6d2a3d
parent0f043a81ebe84be3576667f04fdda481609e3816
mm: mminit_validate_memmodel_limits(): remove redundant test

In case if start_pfn overlap the upper bound no need to test end_pfn again
since we have it already trimmed.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Reviewed-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/sparse.c