summaryrefslogtreecommitdiffstats
path: root/mm/kmemleak.c
diff options
context:
space:
mode:
authorChen Gang <gang.chen.5i5j@gmail.com>2015-09-08 15:03:38 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-09-08 15:35:28 -0700
commite3975891254e08d220ddcafca93a0e05d9560bfb (patch)
tree6c6cbc9bac8c02e8df289acf25871a569659b5bd /mm/kmemleak.c
parent44a30220bc0a171c010e8df63d144655abdafe61 (diff)
downloadop-kernel-dev-e3975891254e08d220ddcafca93a0e05d9560bfb.zip
op-kernel-dev-e3975891254e08d220ddcafca93a0e05d9560bfb.tar.gz
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
OpenPOWER on IntegriCloud