]> asedeno.scripts.mit.edu Git - linux.git/commit
arc/irq: Prepare idu_cascade_isr for irq argument removal
authorThomas Gleixner <tglx@linutronix.de>
Fri, 31 Jul 2015 19:47:35 +0000 (21:47 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 31 Jul 2015 20:20:05 +0000 (22:20 +0200)
commitbadae6bc94ac0614240d93428350049fa891fcad
tree448f1d9db8eda8febdae970be3d5fb6cdbbe5103
parentd7185a98d576e33982cd28e65889b3e4122fe5d8
arc/irq: Prepare idu_cascade_isr for irq argument removal

The irq argument of most interrupt flow handlers is unused or merily
used instead of a local variable. The handlers which need the irq
argument can retrieve the irq number from the irq descriptor.

Search and update was done with coccinelle and the invaluable help of
Julia Lawall.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/mcip.c