commit | e3975891254e08d220ddcafca93a0e05d9560bfb | [log] [tgz] |
---|---|---|
author | Chen Gang <gang.chen.5i5j@gmail.com> | Tue Sep 08 15:03:38 2015 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Sep 08 15:35:28 2015 -0700 |
tree | 6c6cbc9bac8c02e8df289acf25871a569659b5bd | |
parent | 44a30220bc0a171c010e8df63d144655abdafe61 [diff] |
mm/mmap.c: simplify the failure return working flow __split_vma() doesn't need out_err label, neither need initializing err. copy_vma() can return NULL directly when kmem_cache_alloc() fails. Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>