[PATCH 01/10] mtd: rawnand: qcom: Remove superfluous initialization of "ret"
Miquel Raynal
miquel.raynal at bootlin.com
Fri Aug 18 07:41:44 PDT 2023
On Sat, 2023-08-05 at 17:41:37 UTC, Manivannan Sadhasivam wrote:
> In all the cases, "ret" variable is assigned a value before returning it.
> So there is no need to explicitly initialize it with 0.
>
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam at linaro.org>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
More information about the linux-mtd
mailing list