mtd: rawnand: gpmi: remove unneeded variable
authorMinghao Chi <chi.minghao@zte.com.cn>
Mon, 13 Dec 2021 11:26:27 +0000 (11:26 +0000)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 17 Dec 2021 10:26:07 +0000 (11:26 +0100)
commit35a441eea7032d08844b6466ac490a92446045fd
tree4722040b609a8f48a59e24ae4ffc28b2a7904318
parent44d73223fefd8f93be7d94a6eaf897a3c88e3ffb
mtd: rawnand: gpmi: remove unneeded variable

Return status directly from function called.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20211213112627.436745-1-chi.minghao@zte.com.cn
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c