Re: [PATCH linux-next] arm: dma fix returnvar.cocci warnings

From: Russell King - ARM Linux admin
Date: Fri Aug 20 2021 - 04:39:54 EST


On Thu, Aug 19, 2021 at 07:15:18PM -0700, jing yangyang wrote:
> Remove unneeded variables when "0" can be returned.
>
> Generated by: scripts/coccinelle/misc/returnvar.cocci
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: jing yangyang <jing.yangyang@xxxxxxxxxx>

NAK. This is not the first time this _untested_ and _incorrect_
patch has been submitted.

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!