[RESEND,v2,04/53] mtd: nand: denali: remove redundant define of BANK(x)

Message ID 1490213273-8571-5-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 6b2fc9d495aeaad4116827fc21433c85f82a134a
Headers show
  • [RESEND,v2,01/53] mtd: nand: allow to set only one of ECC size and ECC strength from DT
Related show

Commit Message

Masahiro Yamada March 22, 2017, 8:07 p.m.
This macro is defined twice in denali.c (around line 98 and
line 651), so remove the second one.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>


Changes in v2: None

 drivers/mtd/nand/denali.c | 1 -
 1 file changed, 1 deletion(-)


Linux MTD discussion mailing list


diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c
index f993e13..c9806e6 100644
--- a/drivers/mtd/nand/denali.c
+++ b/drivers/mtd/nand/denali.c
@@ -648,7 +648,6 @@  static irqreturn_t denali_isr(int irq, void *dev_id)
 	return result;
-#define BANK(x) ((x) << 24)
 static uint32_t wait_for_irq(struct denali_nand_info *denali, uint32_t irq_mask)