[PATCH][next] dmaengine: xilinx: xdma: remove redundant check on ret
Vinod Koul
vkoul at kernel.org
Mon Dec 2 09:31:15 PST 2024
On Thu, 07 Nov 2024 11:46:56 +0000, Colin Ian King wrote:
> The variable ret is being checked for an error and returning ret
> and the following statement returns ret too. The if check is
> redundant, and remove it. Just return the value returned from
> the call to regmap_write.
>
>
Applied, thanks!
[1/1] dmaengine: xilinx: xdma: remove redundant check on ret
commit: 0f31c0912286f84b34b15e39b286db8f4765ced8
Best regards,
--
~Vinod
More information about the linux-arm-kernel
mailing list