mm/mmap.c: clean up CONFIG_DEBUG_VM_RB checks
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 9 Oct 2014 22:28:19 +0000 (15:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Oct 2014 02:25:57 +0000 (22:25 -0400)
commitff26f70f4323ffe332ab6a5b2550f687bbd15326
tree712c4cee8b5a7f99dd810998b70ff9eabdc75623
parent5705465174686d007473e017b76c4b64b44aa690
mm/mmap.c: clean up CONFIG_DEBUG_VM_RB checks

- be consistent in printing the test which failed

- one message was actually wrong (a<b != b>a)

- don't print second bogus warning if browse_rb() failed

Cc: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mmap.c