mtd: rawnand: gpmi: remove redundant variable payload_virt
authorColin Ian King <colin.king@canonical.com>
Tue, 3 Jul 2018 08:12:14 +0000 (09:12 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 07:24:15 +0000 (09:24 +0200)
commitda8eb7d227c560a1557a16caee20d7be07b074f8
treedb824c8946cd234575f19b524b6fbd2d70470286
parent8604e6346e8db6dece741881d647606511ddafde
mtd: rawnand: gpmi: remove redundant variable payload_virt

Variable payload_virt is being assigned but is never used hence it is
redundant and can be removed.

Cleans up clang warning:
warning: variable 'payload_virt' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c