* [folded-merged] mm-zswap-move-to-use-crypto_acomp-api-for-hardware-acceleration-fix.patch removed from -mm tree
@ 2020-06-24 22:45 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2020-06-24 22:45 UTC (permalink / raw)
To: mm-commits, song.bao.hua, colin.king
The patch titled
Subject: mm/zswap: remove redundant assignment to variable dlen
has been removed from the -mm tree. Its filename was
mm-zswap-move-to-use-crypto_acomp-api-for-hardware-acceleration-fix.patch
This patch was dropped because it was folded into mm-zswap-move-to-use-crypto_acomp-api-for-hardware-acceleration.patch
------------------------------------------------------
From: Colin Ian King <colin.king@canonical.com>
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@canonical.com
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Cc: Barry Song <song.bao.hua@hisilicon.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
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@canonical.com are
mm-zswap-move-to-use-crypto_acomp-api-for-hardware-acceleration.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-24 22:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-24 22:45 [folded-merged] mm-zswap-move-to-use-crypto_acomp-api-for-hardware-acceleration-fix.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).