]> git.itanic.dy.fi Git - linux-stable/commit
dmaengine: fsl-qdma: Remove a useless devm_kfree()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 7 Jan 2024 10:02:05 +0000 (11:02 +0100)
committerVinod Koul <vkoul@kernel.org>
Mon, 22 Jan 2024 11:29:33 +0000 (16:59 +0530)
commit0650006a93a2ce3b57f86e7f000347d9ae7737ef
treeff8698014b87df2f243e56963e2fe2b719535468
parent3aa58cb51318e329d203857f7a191678e60bb714
dmaengine: fsl-qdma: Remove a useless devm_kfree()

'status_head' is a managed resource. It will be freed automatically if
fsl_qdma_prep_status_queue(), and so fsl_qdma_probe(), fails.

Remove the redundant (and harmless) devm_kfree() call.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/6b7f60aa2b92f73b35c586886daffc1a5ac58697.1704621515.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/fsl-qdma.c