mtd: rawnand: gpmi: Remove unnecessary variables
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 21 May 2019 07:06:34 +0000 (09:06 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 27 Jun 2019 18:05:27 +0000 (20:05 +0200)
commit41e2322b258d6d907a4b721ee39a191f3b1e8a6c
tree579dab045d42a8cd6739307b51f15f3c50b6a4a8
parent727ab978e526bfbca8f8e3892178aed55b688e57
mtd: rawnand: gpmi: Remove unnecessary variables

this->page_buffer_virt and this->payload_virt are always set to the same
value, so drop the former and just use the latter. Same for
this->page_buffer_virt and this->payload_virt.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h