[PATCH 3/3] spi: mt65xx: Don't disguise a "return 0" as "return ret"

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Thu Mar 9 03:01:43 PST 2023


Il 09/03/23 10:47, Uwe Kleine-König ha scritto:
> Because of the earlier
> 
> 	 if (ret)
> 		return ret;
> 
> ret is always zero at the end of mtk_spi_suspend(). Write it as explicit
> return 0 for slightly improved clearness.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>





More information about the linux-arm-kernel mailing list