]> git.ipfire.org Git - thirdparty/linux.git/commit
dmaengine: sh: Discard pm_runtime_put() return value
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 22 Dec 2025 20:33:25 +0000 (21:33 +0100)
committerVinod Koul <vkoul@kernel.org>
Tue, 23 Dec 2025 06:49:32 +0000 (12:19 +0530)
commitb442377c0ea2044a8f50ffa3fe59448f9ed922c9
tree9cfcffd1a01a58fa58b865ca2ed818fcd35dab80
parentde4761fb57f6a71eeb5a4c1167ae3606b08d8f59
dmaengine: sh: Discard pm_runtime_put() return value

Clobbering an error value to be returned from shdma_tx_submit() with
a pm_runtime_put() return value is not particularly useful, especially
if the latter is 0, so stop doing that.

This will facilitate a planned change of the pm_runtime_put() return
type to void in the future.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/9626129.rMLUfLXkoz@rafael.j.wysocki
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sh/shdma-base.c