[folded-merged] mm-zswap-move-to-use-crypto_acomp-api-for-hardware-acceleration-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux