diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2024-02-15 16:16:03 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-02-15 17:17:19 +0300 |
commit | 125b28b18926e050e770160a5897b81082304f8c (patch) | |
tree | e3bad4872ad4f1a6fbaa96395b21b5a379ed1dce /Documentation | |
parent | df20385302eb01cb610b9edc71611a63d1683923 (diff) | |
download | linux-125b28b18926e050e770160a5897b81082304f8c.tar.xz |
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 <colin.i.king@gmail.com>
Acked-by: Serge Semin <fancer.lancer@gmail.com>
Link: https://msgid.link/r/20240215131603.2062332-1-colin.i.king@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions