From: Kirill A. Shutemov Date: Wed, 4 Jun 2014 23:08:11 +0000 (-0700) Subject: mm: cleanup follow_page_mask() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~16^2~153 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69e68b4f03135da4a09d1215a3942d7dabd1075b;p=pandora-kernel.git mm: cleanup follow_page_mask() Cleanups: - move pte-related code to separate function. It's about half of the function; - get rid of some goto-logic; - use 'return NULL' instead of 'return page' where page can only be NULL; Signed-off-by: Kirill A. Shutemov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed