mtd: nand: denali: remove unused struct member denali_nand_info::idx
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 9 Nov 2016 04:35:21 +0000 (13:35 +0900)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Sat, 19 Nov 2016 08:30:57 +0000 (09:30 +0100)
commitc4ae0977f57deff490f0232bf8f2a7689cbdcbee
tree5911e9de094da76227aa2fdca1e98f5f8f7852d2
parentef5327dc2597bbf806393d5edca54b2f059e0e69
mtd: nand: denali: remove unused struct member denali_nand_info::idx

The struct member "idx" was used as an index for debug_array long
ago, but the DEBUG_DENALI feature was removed by commit 7cfffac06ca0
("nand/denali: use dev_xx debug function to replace nand_dbg_print
and some printk").  Since then, this has been only initialized, but
never referenced.

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