diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-03-22 16:07:03 -0400 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-03-24 04:51:30 -0400 |
commit | 6b2fc9d495aeaad4116827fc21433c85f82a134a (patch) | |
tree | 19c90c375f0715b08e7a9df7e1058dc0df480070 | |
parent | 357cc408a4009c0d118b684e4865f85694ebc68c (diff) |
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@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
-rw-r--r-- | drivers/mtd/nand/denali.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c index f993e1378f94..c9806e644a43 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) | |||
648 | spin_unlock(&denali->irq_lock); | 648 | spin_unlock(&denali->irq_lock); |
649 | return result; | 649 | return result; |
650 | } | 650 | } |
651 | #define BANK(x) ((x) << 24) | ||
652 | 651 | ||
653 | static uint32_t wait_for_irq(struct denali_nand_info *denali, uint32_t irq_mask) | 652 | static uint32_t wait_for_irq(struct denali_nand_info *denali, uint32_t irq_mask) |
654 | { | 653 | { |