From: Davidlohr Bueso Date: Wed, 6 Aug 2014 23:06:45 +0000 (-0700) Subject: mm,hugetlb: make unmap_ref_private() return void X-Git-Tag: cleanup-for-v3.18~96^2~131 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f4612af43d4854c892f5ef8ed7a98b6492aee44;p=pandora-kernel.git mm,hugetlb: make unmap_ref_private() return void This function always returns 1, thus no need to check return value in hugetlb_cow(). By doing so, we can get rid of the unnecessary WARN_ON call. While this logic perhaps existed as a way of identifying future unmap_ref_private() mishandling, reality is it serves no apparent purpose. Signed-off-by: Davidlohr Bueso Cc: Aswin Chandramouleeswaran Acked-by: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed