Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-6
-6
drivers/sh/intc/core.c
··· 80 80 unsigned int data[2], primary; 81 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 83 raw_spin_lock_irqsave(&intc_big_lock, flags); 90 84 radix_tree_insert(&d->tree, enum_id, intc_irq_xlate_get(irq)); 91 85 raw_spin_unlock_irqrestore(&intc_big_lock, flags);