]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
mtd: nand: pl35x: Fix gcc warning
authorNaga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
Thu, 27 Sep 2018 10:41:33 +0000 (16:11 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 27 Sep 2018 10:44:05 +0000 (12:44 +0200)
commit7ea1af329aee531681b87b1fba5496337bff680f
tree0572db2e89d85f2f72b9af33d19c13268e4bf101
parente389d62b3d741b18949d2c9d9096723bf9c6cdad
mtd: nand: pl35x: Fix gcc warning

This patch fixes the below gcc warning
drivers/mtd/nand/pl35x_nand.c: In function ‘pl35x_nand_read_page_swecc’:
drivers/mtd/nand/pl35x_nand.c:816:6: warning: variable ‘ret’ set but not
used [-Wunused-but-set-variable]
u32 ret;
^~~

Signed-off-by: Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mtd/nand/pl35x_nand.c