]> git.baikalelectronics.ru Git - 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)
commitc2d65b54594a18d0af18a5a62ebbb8eced5ead28
tree7cecd90a11417a867288dd21b012ffab1e488a09
parentae65a3882defe422e638e148e3e0e221ec1c1136
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