Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1606531 > unrolled thread

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

Started byMasahiro Yamada <yamada.masahiro@socionext.com>
First post2017-03-22 15:20 +0100
Last post2017-03-22 15:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 04/53] mtd: nand: denali: remove redundant define of BANK(x) Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-03-22 15:20 +0100

#1606531 — [PATCH v2 04/53] mtd: nand: denali: remove redundant define of BANK(x)

FromMasahiro Yamada <yamada.masahiro@socionext.com>
Date2017-03-22 15:20 +0100
Subject[PATCH v2 04/53] mtd: nand: denali: remove redundant define of BANK(x)
Message-ID<tnPhf-3Fu-5@gated-at.bofh.it>
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(-)

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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web