Skip to content

Commit 920c597

Browse files
tititiou36vinodkoul
authored andcommitted
dmaengine: qcom_hidma: Simplify error handling path in hidma_probe
There is no need to call 'hidma_debug_uninit()' in the error handling path. 'hidma_debug_init()' has not been called yet. Signed-off-by: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent c0fca73 commit 920c597

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/dma/qcom/hidma.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,6 @@ static int hidma_probe(struct platform_device *pdev)
897897
if (msi)
898898
hidma_free_msis(dmadev);
899899

900-
hidma_debug_uninit(dmadev);
901900
hidma_ll_uninit(dmadev->lldev);
902901
dmafree:
903902
if (dmadev)

0 commit comments

Comments
 (0)