diff mbox series

[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
Series [RESEND,v2,01/53] mtd: nand: allow to set only one of ECC size and ECC strength from DT | expand

Commit Message

Masahiro Yamada March 22, 2017, 8:07 p.m. UTC
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(-)

-- 
2.7.4


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
diff mbox series

Patch

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)
 	spin_unlock(&denali->irq_lock);
 	return result;
 }
-#define BANK(x) ((x) << 24)
 
 static uint32_t wait_for_irq(struct denali_nand_info *denali, uint32_t irq_mask)
 {