Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

crypto: x86/poly1305 - Remove assignments with no effect

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

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

-3
-3
arch/x86/crypto/poly1305_glue.c
··· 158 158 dctx->s[1] = get_unaligned_le32(&inp[4]); 159 159 dctx->s[2] = get_unaligned_le32(&inp[8]); 160 160 dctx->s[3] = get_unaligned_le32(&inp[12]); 161 - inp += POLY1305_BLOCK_SIZE; 162 - len -= POLY1305_BLOCK_SIZE; 163 - acc += POLY1305_BLOCK_SIZE; 164 161 dctx->sset = true; 165 162 } 166 163 }