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>
This commit is contained in:
Masahiro Yamada
2016-11-09 13:35:25 +09:00
committed by Boris Brezillon
parent 789ccf1775
commit 376563917c
2 changed files with 0 additions and 10 deletions

View File

@@ -462,8 +462,6 @@ struct denali_nand_info {
int irq;
uint32_t devnum; /* represent how many nands connected */
uint32_t totalblks;
uint32_t blksperchip;
uint32_t bbtskipbytes;
uint32_t max_banks;
};