mtd: nand: denali: remove redundant define of BANK(x)

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Wed May 10 19:59:09 PDT 2017


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=6b2fc9d495aeaad4116827fc21433c85f82a134a
Commit:     6b2fc9d495aeaad4116827fc21433c85f82a134a
Parent:     357cc408a4009c0d118b684e4865f85694ebc68c
Author:     Masahiro Yamada <yamada.masahiro at socionext.com>
AuthorDate: Thu Mar 23 05:07:03 2017 +0900
Committer:  Boris Brezillon <boris.brezillon at free-electrons.com>
CommitDate: Fri Mar 24 09:51:30 2017 +0100

    mtd: nand: denali: remove redundant define of BANK(x)
    
    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 at socionext.com>
    Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>
---
 drivers/mtd/nand/denali.c | 1 -
 1 file changed, 1 deletion(-)

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)
 {



More information about the linux-mtd-cvs mailing list