]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: remove unused blockmask variable
authorCorentin Labbe <clabbe.montjoie@gmail.com>
Sat, 2 Sep 2017 08:49:38 +0000 (10:49 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 18 Sep 2017 12:51:02 +0000 (14:51 +0200)
commit73600b619bf8b9803a0610624a0e11f5ed8f761e
tree218be809fd129be4459b43c77b45b75e9a832c4b
parent17b694a5476de09e119c517dcc3b71eff6835bdf
mtd: nand: remove unused blockmask variable

This patch fix the following build warning:
drivers/mtd/nand/nand_base.c:2671:30: attention : variable ‘blockmask’ set but not used [-Wunused-but-set-variable]

Fixes: 0b4773fd1649 ("mtd: nand: Drop unused cached programming support")
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/nand_base.c