diff options
author | Colin Ian King <[email protected]> | 2017-10-11 11:28:22 +0100 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2017-10-12 19:34:41 +0530 |
commit | f2fd4d9f323d8979fe77e673bb555199b531fa1a (patch) | |
tree | 04dfe5b5bb594c2cfcad8f91404fa6c6d4140857 /lib/test_overflow.c | |
parent | ea62e2ccbb18e8adc51a6591682e7efa7818478a (diff) |
dmaengine: stm32: remove redundant initialization of hwdesc
hwdesc is being initialized to desc->hwdesc but this is never read
as hwdesc is overwritten in a for-loop. Remove the redundant
initialization and move the declaration of hwdesc into the for-loop.
Cleans up clang warning:
Value stored to 'hwdesc' during its initialization is never read
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Pierre-Yves MORDRET <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions