<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Date: Thu, 24 Sep 2020 13:29:04 +1000
Subject: [PATCH] crypto: x86/poly1305 - Remove assignments with no effect

commit 4a0c1de64bf9d9027a6f19adfba89fc27893db23 upstream.

This patch removes a few ineffectual assignments from the function
crypto_poly1305_setdctxkey.

Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
---
 arch/x86/crypto/poly1305_glue.c | 3 ---
 1 file changed, 3 deletions(-)

--- a/arch/x86/crypto/poly1305_glue.c
+++ b/arch/x86/crypto/poly1305_glue.c
@@ -157,9 +157,6 @@ static unsigned int crypto_poly1305_setd
 			dctx-&gt;s[1] = get_unaligned_le32(&amp;inp[4]);
 			dctx-&gt;s[2] = get_unaligned_le32(&amp;inp[8]);
 			dctx-&gt;s[3] = get_unaligned_le32(&amp;inp[12]);
-			inp += POLY1305_BLOCK_SIZE;
-			len -= POLY1305_BLOCK_SIZE;
-			acc += POLY1305_BLOCK_SIZE;
 			dctx-&gt;sset = true;
 		}
 	}
</pre></body></html>