| To: | Thomas Gleixner <tglx@linutronix.de>, devicetree-discuss@lists.ozlabs.org, Grant Likely <grant.likely@secretlab.ca>, Rob Herring <rob.herring@calxeda.com> |
|---|---|
| Subject: | [PATCH v2 1/4] irq: Get rid of irq_domain_for_each_hwirq(). |
| From: | David Daney <ddaney.cavm@gmail.com> |
| Date: | Wed, 14 Dec 2011 18:32:07 -0800 |
| Cc: | linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, David Daney <david.daney@cavium.com> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=aDO5HkfsBBEDOw/oeSYFDw5G49NMO4pKhT5EY+zzY3k=; b=JLJRtqKTsuorHrre5cmewD7fKHaoWhuhGN/q8oGWfLvhnPnouUzGv5IZA5yX8Z18bS hz8RkgpC+DozfUJ0+2Tgdt1gcyPA83Nx7As5muladzYuBCWcalqxaGhHosqBE77QEe91 XGkdWLCP3tOJgK5WaznmCGMkIrNymrT8Bd51o= |
| In-reply-to: | <1323916330-8865-1-git-send-email-ddaney.cavm@gmail.com> |
| References: | <1323916330-8865-1-git-send-email-ddaney.cavm@gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
From: David Daney <david.daney@cavium.com>
It is not used anywhere in the kernel.
Signed-off-by: David Daney <david.daney@cavium.com>
---
include/linux/irqdomain.h | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h
index 99834e58..0914a54 100644
--- a/include/linux/irqdomain.h
+++ b/include/linux/irqdomain.h
@@ -81,9 +81,6 @@ static inline unsigned int irq_domain_to_irq(struct
irq_domain *d,
return d->irq_base + hwirq - d->hwirq_base;
}
-#define irq_domain_for_each_hwirq(d, hw) \
- for (hw = d->hwirq_base; hw < d->hwirq_base + d->nr_irq; hw++)
-
#define irq_domain_for_each_irq(d, hw, irq) \
for (hw = d->hwirq_base, irq = irq_domain_to_irq(d, hw); \
hw < d->hwirq_base + d->nr_irq; \
--
1.7.2.3
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] MIPS: Get rid of arch specific irq_dispose_mapping., David Daney |
|---|---|
| Next by Date: | [PATCH v2 0/4] irq/of: Cleanup and Enchance irq_domain support., David Daney |
| Previous by Thread: | [PATCH v2 0/4] irq/of: Cleanup and Enchance irq_domain support., David Daney |
| Next by Thread: | [PATCH v2 2/4] irq/of/ARM: Make irq_domain hwirq type consistent throughout the kernel., David Daney |
| Indexes: | [Date] [Thread] [Top] [All Lists] |