sh: intc: Remove pointless irq_reserve_irqs() invocation
authorThomas Gleixner <tglx@linutronix.de>
Wed, 7 May 2014 15:44:18 +0000 (15:44 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 16 May 2014 12:05:21 +0000 (14:05 +0200)
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>
drivers/sh/intc/core.c

index 8f32a1323a79dd40e6e91433fa38e15709a3ca02..81f22980b2def237fbefb4feac8386194188653e 100644 (file)
@@ -80,12 +80,6 @@ static void __init intc_register_irq(struct intc_desc *desc,
        unsigned int data[2], primary;
        unsigned long flags;
 
-       /*
-        * Register the IRQ position with the global IRQ map, then insert
-        * it in to the radix tree.
-        */
-       irq_reserve_irq(irq);
-
        raw_spin_lock_irqsave(&intc_big_lock, flags);
        radix_tree_insert(&d->tree, enum_id, intc_irq_xlate_get(irq));
        raw_spin_unlock_irqrestore(&intc_big_lock, flags);