diff options
author | Davidlohr Bueso <davidlohr@hp.com> | 2014-08-06 16:06:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-06 18:01:19 -0700 |
commit | 2f4612af43d4854c892f5ef8ed7a98b6492aee44 (patch) | |
tree | 4c8534fb31083bb59f225124f252abd7fa8a3486 /lib/fonts | |
parent | eb39d618f9e80f81cfc5788cf1b252d141c2f0c3 (diff) | |
download | blackbird-op-linux-2f4612af43d4854c892f5ef8ed7a98b6492aee44.tar.gz blackbird-op-linux-2f4612af43d4854c892f5ef8ed7a98b6492aee44.zip |
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 <davidlohr@hp.com>
Cc: Aswin Chandramouleeswaran <aswin@hp.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/fonts')
0 files changed, 0 insertions, 0 deletions