Re: [PATCH linux-next] mtd: rawnand: Remove the unneeded result variable

From: Miquel Raynal
Date: Tue Sep 20 2022 - 04:34:52 EST


On Thu, 2022-09-01 at 07:45:54 UTC, cgel.zte@xxxxxxxxx wrote:
> From: ye xingchen <ye.xingchen@xxxxxxxxxx>
>
> Return the value cadence_nand_set_access_width16() directly instead of
> storing it in another redundant variable.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: ye xingchen <ye.xingchen@xxxxxxxxxx>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel