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

Miquel Raynal miquel.raynal at bootlin.com
Tue Sep 20 01:33:50 PDT 2022


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

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