dmaengine: imx-dma: Remove a redundant memset() call
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 13 Mar 2023 21:52:31 +0000 (22:52 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 17 Mar 2023 17:40:46 +0000 (23:10 +0530)
commit9f7d4718211a82b2a87ae74d841d6e3938cd5c28
tree288aa754dcca5a93b5cbc0eb084d54eafa8f2575
parent5aaf9079d740ebe57f10dfefb1850011d6bb7b2a
dmaengine: imx-dma: Remove a redundant memset() call

The desc->desc structure is already zeroed when 'desc' is kzalloc()'ed.
There is no need to clear it twice.

Remove the redundant memset().

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/95a81d623bffde2e5d14e22fad7e8c9a9a7203f6.1678743528.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/imx-dma.c