summaryrefslogtreecommitdiff
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2024-01-16 10:43:02 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2024-01-26 16:39:32 +0800
commite6dc79f5665535eaf9e53efdb92f2a9e535c54aa (patch)
treeed8f03bb0e8cdec4ad900522b0ff0c8c20e7ee87 /crypto/testmgr.c
parenta7b7a2e72df3d05a637c8aee79ba364eb57754f7 (diff)
downloadlinux-crypto-e6dc79f5665535eaf9e53efdb92f2a9e535c54aa.tar.gz
linux-crypto-e6dc79f5665535eaf9e53efdb92f2a9e535c54aa.zip
crypto: pcbc - remove redundant assignment to nbytes
The assignment to nbytes is redundant, the while loop needs to just refer to the value in walk.nbytes and the value of nbytes is being re-assigned inside the loop on both paths of the following if-statement. Remove redundant assignment. Cleans up clang scan build warning: warning: Although the value stored to 'nbytes' is used in the enclosing expression, the value is never actually read from 'nbytes' [deadcode.DeadStores] Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
0 files changed, 0 insertions, 0 deletions