]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
mm/mmap.c: remove redundant statement "error = -ENOMEM"
authorChen Gang <xili_gchen_5257@hotmail.com>
Fri, 6 Nov 2015 02:48:32 +0000 (18:48 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Nov 2015 03:34:48 +0000 (19:34 -0800)
commite6ee219fdd69c87ceaeb421bcd753a63937f8f31
tree7cecd90a11417a867288dd21b012ffab1e488a09
parent3ca65c19ddbb45f504edf92fe7126ecc94d56e36
mm/mmap.c: remove redundant statement "error = -ENOMEM"

It is still a little better to remove it, although it should be skipped
by "-O2".

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