summaryrefslogtreecommitdiffstats
path: root/Documentation/spi
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2024-02-15 13:16:03 +0000
committerMark Brown <broonie@kernel.org>2024-02-15 14:17:19 +0000
commit125b28b18926e050e770160a5897b81082304f8c (patch)
treee3bad4872ad4f1a6fbaa96395b21b5a379ed1dce /Documentation/spi
parentdf20385302eb01cb610b9edc71611a63d1683923 (diff)
downloadlinux-125b28b18926e050e770160a5897b81082304f8c.tar.gz
linux-125b28b18926e050e770160a5897b81082304f8c.tar.bz2
linux-125b28b18926e050e770160a5897b81082304f8c.zip
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/spi')
0 files changed, 0 insertions, 0 deletions