Messages in this thread | | | From | Miquel Raynal <> | Subject | Re: [PATCH 01/10] mtd: rawnand: qcom: Remove superfluous initialization of "ret" | Date | Fri, 18 Aug 2023 16:41:44 +0200 |
| |
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@linaro.org>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
| |