aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sh
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-05-07 11:44:18 -0400
committerThomas Gleixner <tglx@linutronix.de>2014-05-16 08:05:21 -0400
commit3670802223e164f1089287d1c223d34d3c5dc3da (patch)
tree2e8e4f0645de509256ef79e03400092161f1b38d /drivers/sh
parent18a67d32c31b88679467e93e1825010d245b9bf4 (diff)
sh: intc: Remove pointless irq_reserve_irqs() invocation
The preceding call to irq_create_identity_mapping() marks the interrupt as allocated already. Remove the leftover. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Grant Likely <grant.likely@linaro.org> Cc: Tony Luck <tony.luck@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Acked-by: Simon Horman <horms@verge.net.au> Cc: linux-sh@vger.kernel.org Link: http://lkml.kernel.org/r/20140507154339.189047829@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/sh')
-rw-r--r--drivers/sh/intc/core.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/sh/intc/core.c b/drivers/sh/intc/core.c
index 8f32a1323a79..81f22980b2de 100644
--- a/drivers/sh/intc/core.c
+++ b/drivers/sh/intc/core.c
@@ -80,12 +80,6 @@ static void __init intc_register_irq(struct intc_desc *desc,
80 unsigned int data[2], primary; 80 unsigned int data[2], primary;
81 unsigned long flags; 81 unsigned long flags;
82 82
83 /*
84 * Register the IRQ position with the global IRQ map, then insert
85 * it in to the radix tree.
86 */
87 irq_reserve_irq(irq);
88
89 raw_spin_lock_irqsave(&intc_big_lock, flags); 83 raw_spin_lock_irqsave(&intc_big_lock, flags);
90 radix_tree_insert(&d->tree, enum_id, intc_irq_xlate_get(irq)); 84 radix_tree_insert(&d->tree, enum_id, intc_irq_xlate_get(irq));
91 raw_spin_unlock_irqrestore(&intc_big_lock, flags); 85 raw_spin_unlock_irqrestore(&intc_big_lock, flags);