mm, mempolicy: remove duplicate code
authorDavid Rientjes <rientjes@google.com>
Wed, 12 Dec 2012 00:02:51 +0000 (16:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Dec 2012 01:22:27 +0000 (17:22 -0800)
commit212a0a6f28dda0a1e732d20d57abb465750d473c
tree0a6bf85ca746d0e3a4001f3905c0ecd2dcbc0b89
parent6f6313d4870f9642cb3ea8ec892cf6da81331b9c
mm, mempolicy: remove duplicate code

Remove some duplicate code and simplify alloc_pages_vma().  No functional
change.

Signed-off-by: David Rientjes <rientjes@google.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mempolicy.c