diff options
author | Chen Gang <gang.chen.5i5j@gmail.com> | 2015-09-08 15:03:38 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-08 15:35:28 -0700 |
commit | e3975891254e08d220ddcafca93a0e05d9560bfb (patch) | |
tree | 6c6cbc9bac8c02e8df289acf25871a569659b5bd /mm/kmemleak.c | |
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>
Diffstat (limited to 'mm/kmemleak.c')
0 files changed, 0 insertions, 0 deletions