From: Zhang Yanfei Date: Mon, 29 Apr 2013 22:07:42 +0000 (-0700) Subject: mmap: find_vma: remove the WARN_ON_ONCE(!mm) check X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~128^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee5df0570c8af2610b28ab79bd8f8f8195687773;p=pandora-kernel.git mmap: find_vma: remove the WARN_ON_ONCE(!mm) check Remove the WARN_ON_ONCE(!mm) check as the comment suggested. Kernel code calls find_vma only when it is absolutely sure that the mm_struct arg to it is non-NULL. Signed-off-by: Zhang Yanfei Cc: k80c Cc: Michel Lespinasse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed