diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2025-01-04 23:55:02 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-01-14 06:31:13 +0300 |
commit | 1742b0a0e4668763066fab5fa76d071c1ac92648 (patch) | |
tree | 25e9ad78ede298f16dce979fa5b2725fb6b05276 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 061b27e37238d374d8a6954b22d9c5d07c5db574 (diff) | |
download | linux-1742b0a0e4668763066fab5fa76d071c1ac92648.tar.xz |
crypto: bcm - Drop unused setting of local 'ptr' variable
spum_cipher_req_init() assigns 'spu_hdr' to local 'ptr' variable and
later increments 'ptr' over specific fields like it was meant to point
to pieces of message for some purpose. However the code does not read
'ptr' at all thus this entire iteration over 'spu_hdr' seams pointless.
Reported by clang W=1 build:
drivers/crypto/bcm/spu.c:839:6: error: variable 'ptr' set but not used [-Werror,-Wunused-but-set-variable]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions