mtd: nand: denali: remove more unused struct members
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 22 Mar 2017 20:07:04 +0000 (05:07 +0900)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 24 Mar 2017 08:51:32 +0000 (09:51 +0100)
These members are not used at all.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/denali.h

index c4f3a683de93e0544e71dabd27f757376a631ea4..6573ea59d4ffb6dcc442fa551fd0053c54837e77 100644 (file)
@@ -350,7 +350,6 @@ struct denali_nand_info {
        struct nand_buf buf;
        struct device *dev;
        int total_used_banks;
-       uint32_t block;  /* stored for future use */
        uint16_t page;
        void __iomem *flash_reg;  /* Mapped io reg base address */
        void __iomem *flash_mem;  /* Mapped io reg base address */
@@ -359,7 +358,6 @@ struct denali_nand_info {
        struct completion complete;
        spinlock_t irq_lock;
        uint32_t irq_status;
-       int irq_debug_array[32];
        int irq;
 
        uint32_t devnum;        /* represent how many nands connected */