mtd: nand: denali: remove unused struct member totalblks, blksperchip
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 9 Nov 2016 04:35:25 +0000 (13:35 +0900)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Sat, 19 Nov 2016 08:38:59 +0000 (09:38 +0100)
commit376563917c23ec8e1d30475233f1111b307fd18b
tree5ca75c5cf360b119445a1839bdce594305b8ff5b
parent789ccf17754fe95cdd4de3cae7afb09a9bb43c94
mtd: nand: denali: remove unused struct member totalblks, blksperchip

The denali->blksperchip is set, but not referenced any more.  The
denali->totalblks is used only for calculating denali->blksperchip.
Both of them are unneeded.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/denali.c
drivers/mtd/nand/denali.h