mempolicy: remove redundant check in __mpol_equal()
authorNamhyung Kim <namhyung@gmail.com>
Tue, 22 Mar 2011 23:33:02 +0000 (16:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Mar 2011 00:44:04 +0000 (17:44 -0700)
commit7571966189e54adf0a8bc1384d6f13f44052ba63
tree51f421e135905399751eaf78b19cd184dddf9387
parent4031a219d8913da40ade5a6e5b538cc61e975cc8
mempolicy: remove redundant check in __mpol_equal()

The 'flags' field is already checked, no need to do it again.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Cc: Bob Liu <lliubbo@gmail.com>
Cc: Lee Schermerhorn <lee.schermerhorn@hp.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mempolicy.c