dmaengine: stm32-mdma: Remove redundant initialization of pointer hwdesc
authorColin Ian King <colin.i.king@gmail.com>
Sat, 4 Dec 2021 14:00:32 +0000 (14:00 +0000)
committerVinod Koul <vkoul@kernel.org>
Fri, 17 Dec 2021 16:09:28 +0000 (21:39 +0530)
commitd697e83125950f64210b267d5c9c13fa7e4a43b9
treee1b42889a140603cf0026009a1117d1779700907
parent7930d85535751bc8b05c6731c6b79d874671f13c
dmaengine: stm32-mdma: Remove redundant initialization of pointer hwdesc

The pointer hwdesc is being initialized with a value that is never
read, it is being updated later in a for-loop. The assignment is
redundant and can be removed.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Link: https://lore.kernel.org/r/20211204140032.548066-1-colin.i.king@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/stm32-mdma.c