mm/mmap.c: remove useless statement "vma = NULL" in find_vma()
authorChen Gang <gang.chen.5i5j@gmail.com>
Fri, 6 Nov 2015 02:46:06 +0000 (18:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Nov 2015 03:34:48 +0000 (19:34 -0800)
commit55e1ceaf2586ab11aafba798a6b9499dd7c14441
tree1f49da0a136cbf3406be4c49f795872c66511473
parent0ab32b6f1b88444524e52429fab334ff96683a3f
mm/mmap.c: remove useless statement "vma = NULL" in find_vma()

Before the main loop, vma is already is NULL.  There is no need to set it
to NULL again.

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mmap.c