summaryrefslogtreecommitdiffstats
path: root/include/linux/irqdomain.h
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-04-07 13:17:10 +0100
committerMarc Zyngier <maz@kernel.org>2021-04-07 13:25:52 +0100
commit4a35d6a03744ded782c9301f5f5d78ad68ce680f (patch)
tree6ede8b5a5a2b1bb0a20243a697ebcb559c911f94 /include/linux/irqdomain.h
parenteef56c3a0492e4c1bc2a081da8f402a26d882489 (diff)
downloadlinux-stable-4a35d6a03744ded782c9301f5f5d78ad68ce680f.tar.gz
linux-stable-4a35d6a03744ded782c9301f5f5d78ad68ce680f.tar.bz2
linux-stable-4a35d6a03744ded782c9301f5f5d78ad68ce680f.zip
irqdomain: Get rid of irq_create_identity_mapping()
The sole user of irq_create_identity_mapping() having been converted, get rid of the unused helper. Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'include/linux/irqdomain.h')
-rw-r--r--include/linux/irqdomain.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h
index 33cacc8af26d..d2c61de208a8 100644
--- a/include/linux/irqdomain.h
+++ b/include/linux/irqdomain.h
@@ -419,12 +419,6 @@ extern int irq_create_strict_mappings(struct irq_domain *domain,
unsigned int irq_base,
irq_hw_number_t hwirq_base, int count);
-static inline int irq_create_identity_mapping(struct irq_domain *host,
- irq_hw_number_t hwirq)
-{
- return irq_create_strict_mappings(host, hwirq, hwirq, 1);
-}
-
extern const struct irq_domain_ops irq_domain_simple_ops;
/* stock xlate functions */