summaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorAndrea Arcangeli <aarcange@redhat.com>2015-11-06 03:49:19 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-06 04:34:48 +0100
commitc8f95ed1a9ce373d20d3b09a6a9fb91c8beef27e (patch)
treed16cae310973cef4ada33fceabe780c102e14196 /certs
parentksm: use find_mergeable_vma in try_to_merge_with_ksm_page (diff)
downloadlinux-c8f95ed1a9ce373d20d3b09a6a9fb91c8beef27e.tar.xz
linux-c8f95ed1a9ce373d20d3b09a6a9fb91c8beef27e.zip
ksm: unstable_tree_search_insert error checking cleanup
get_mergeable_page() can only return NULL (also in case of errors) or the pinned mergeable page. It can't return an error different than NULL. This optimizes away the unnecessary error check. Add a return after the "out:" label in the callee to make it more readable. Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Acked-by: Hugh Dickins <hughd@google.com> Cc: Petr Holasek <pholasek@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions