summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2024-01-16 13:43:02 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2024-01-26 11:39:32 +0300
commit1bfde2c572b93e28a8f10212367aa0d5a8164c6a (patch)
tree3047282fa9ef16e4f2cc7b49dd65b7f87c1096cd /tools/perf/scripts/python
parent8db78dd6cca25f558676b31c31a84771bfa5b51d (diff)
downloadlinux-1bfde2c572b93e28a8f10212367aa0d5a8164c6a.tar.xz
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions