aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2024-02-15 13:16:03 +0000
committerMark Brown <[email protected]>2024-02-15 14:17:19 +0000
commit125b28b18926e050e770160a5897b81082304f8c (patch)
treee3bad4872ad4f1a6fbaa96395b21b5a379ed1dce /lib/test_fortify/write_overflow-strncpy-src.c
parentdf20385302eb01cb610b9edc71611a63d1683923 (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