From: Masahiro Yamada Date: Wed, 22 Mar 2017 20:07:03 +0000 (+0900) Subject: mtd: nand: denali: remove redundant define of BANK(x) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6b2fc9d495aeaad4116827fc21433c85f82a134a;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Boris Brezillon --- 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) 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) {