From: Daeseok Youn Date: Thu, 23 Jan 2014 23:55:48 +0000 (-0800) Subject: kernel/fork.c: remove redundant NULL check in dup_mm() X-Git-Tag: v3.14-rc1~108^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68ce670b6e8edc30551862e7f6a306e45389e189;p=pandora-kernel.git 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 Acked-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed