diff options
author | Colin Ian King <[email protected]> | 2024-02-15 13:16:03 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-02-15 14:17:19 +0000 |
commit | 125b28b18926e050e770160a5897b81082304f8c (patch) | |
tree | e3bad4872ad4f1a6fbaa96395b21b5a379ed1dce /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | df20385302eb01cb610b9edc71611a63d1683923 (diff) |
spi: dw: remove redundant assignment to variable len
The variable id len being initialized with a value that is never read,
it is being re-assigned later on in a for-loop. The initialization is
redundant and can be removed.
Cleans up clang scan build warning:
drivers/spi/spi-dw-dma.c:580:17: warning: Although the value stored
to 'len' is used in the enclosing expression, the value is never
actually read from 'len' [deadcode.DeadStores]
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Serge Semin <[email protected]>
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions