summaryrefslogtreecommitdiffstats
path: root/fs/exec.c
diff options
context:
space:
mode:
authorDaeseok Youn2014-01-24 00:55:48 +0100
committerLinus Torvalds2014-01-24 01:37:02 +0100
commit68ce670b6e8edc30551862e7f6a306e45389e189 (patch)
tree6d11b7ba37a902af3640da2eeb7e1ab701e607ec /fs/exec.c
parentkernel/fork.c: fix coding style issues (diff)
downloadkernel-qcow2-linux-68ce670b6e8edc30551862e7f6a306e45389e189.tar.gz
kernel-qcow2-linux-68ce670b6e8edc30551862e7f6a306e45389e189.tar.xz
kernel-qcow2-linux-68ce670b6e8edc30551862e7f6a306e45389e189.zip
kernel/fork.c: remove redundant NULL check in dup_mm()
current->mm doesn't need a NULL check in dup_mm(). Becasue dup_mm() is used only in copy_mm() and current->mm is checked whether it is NULL or not in copy_mm() before calling dup_mm(). Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> 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>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions