From ee5df0570c8af2610b28ab79bd8f8f8195687773 Mon Sep 17 00:00:00 2001 From: Zhang Yanfei Date: Mon, 29 Apr 2013 15:07:42 -0700 Subject: [PATCH] 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-format-patch failed