]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdc07e17bbb2403bd3b60854e68a9616595e24fb8
tree1f49da0a136cbf3406be4c49f795872c66511473
parent4ec9ce7b2255562f6a911ba36e4c26b813a04255
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