The patch titled Subject: mm/zswap: remove redundant assignment to variable dlen has been added to the -mm tree. Its filename is mm-zswap-move-to-use-crypto_acomp-api-for-hardware-acceleration-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-zswap-move-to-use-crypto_acomp-api-for-hardware-acceleration-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-zswap-move-to-use-crypto_acomp-api-for-hardware-acceleration-fix.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: Colin Ian King <colin.king@xxxxxxxxxxxxx> Subject: mm/zswap: remove redundant assignment to variable dlen The variable dlen is being assigned a value that is never read, the assignment is redundant and can be removed. Link: http://lkml.kernel.org/r/20200622154432.50133-1-colin.king@xxxxxxxxxxxxx Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx> Cc: Barry Song <song.bao.hua@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/zswap.c | 1 - 1 file changed, 1 deletion(-) --- a/mm/zswap.c~mm-zswap-move-to-use-crypto_acomp-api-for-hardware-acceleration-fix +++ a/mm/zswap.c @@ -1243,7 +1243,6 @@ static int zswap_frontswap_load(unsigned sg_init_one(&output, dst, dlen); acomp_request_set_params(acomp_ctx->req, &input, &output, entry->length, dlen); ret = crypto_wait_req(crypto_acomp_decompress(acomp_ctx->req), &acomp_ctx->wait); - dlen = acomp_ctx->req->dlen; mutex_unlock(&acomp_ctx->mutex); kunmap(page); _ Patches currently in -mm which might be from colin.king@xxxxxxxxxxxxx are mm-zswap-move-to-use-crypto_acomp-api-for-hardware-acceleration-fix.patch