The patch titled Subject: mm/z3fold.c: remove useless code in z3fold_page_isolate has been added to the -mm tree. Its filename is mm-z3foldc-remove-useless-code-in-z3fold_page_isolate.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-z3foldc-remove-useless-code-in-z3fold_page_isolate.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-z3foldc-remove-useless-code-in-z3fold_page_isolate.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: "Gustavo A. R. Silva" <gustavo@xxxxxxxxxxxxxx> Subject: mm/z3fold.c: remove useless code in z3fold_page_isolate Remove duplicate and useless code. Link: http://lkml.kernel.org/r/20190829191312.GA20298@embeddedor Reported-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Cc: Vitaly Wool <vitalywool@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/z3fold.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) --- a/mm/z3fold.c~mm-z3foldc-remove-useless-code-in-z3fold_page_isolate +++ a/mm/z3fold.c @@ -1400,15 +1400,13 @@ static bool z3fold_page_isolate(struct p * can call the release logic. */ if (unlikely(kref_put(&zhdr->refcount, - release_z3fold_page_locked))) { + release_z3fold_page_locked))) /* * If we get here we have kref problems, so we * should freak out. */ WARN(1, "Z3fold is experiencing kref problems\n"); - z3fold_page_unlock(zhdr); - return false; - } + z3fold_page_unlock(zhdr); return false; } _ Patches currently in -mm which might be from gustavo@xxxxxxxxxxxxxx are mm-z3foldc-fix-lock-unlock-imbalance-in-z3fold_page_isolate.patch mm-z3foldc-remove-useless-code-in-z3fold_page_isolate.patch