dmaengine: pl08x: drop the useless function
authorHaowen Bai <baihaowen@meizu.com>
Tue, 12 Apr 2022 01:16:20 +0000 (09:16 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 20 Apr 2022 11:49:09 +0000 (17:19 +0530)
commit3dbc47a9629d3ab1bca89cc25f6bffcc47c71ed7
tree43162d76edca9d6a4e9c5819ccedf335cae27785
parent23084545dbb0ac0d1f0acad915bdeed7bd5f48cd
dmaengine: pl08x: drop the useless function

Unneeded variable: "retval". Return "NULL" , so we have to make code clear.
better way, drop the function.

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Link: https://lore.kernel.org/r/1649726180-13133-1-git-send-email-baihaowen@meizu.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/amba-pl08x.c