Re: [PATCH] ARM: OMAP2+: remove unneeded variable "errata" in configure_dma_errata()

From: Russell King - ARM Linux admin
Date: Wed May 06 2020 - 04:29:57 EST


On Wed, May 06, 2020 at 02:19:00PM +0800, Jason Yan wrote:
> Fix the following coccicheck warning:
>
> arch/arm/mach-omap2/dma.c:82:10-16: Unneeded variable: "errata". Return
> "0" on line 161

NAK. Look closer at what the code is doing, thanks.

This warning is basically incorrect.

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 10.2Mbps down 587kbps up