Commit c1e5bd8c authored by Jiang Liu's avatar Jiang Liu Committed by Thomas Gleixner

genirq: Remove irq argument from try_one_irq()

Unused argument.

[ tglx: Split out from combo patch ]
Signed-off-by: default avatarJiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 02d00eaa
...@@ -60,7 +60,7 @@ bool irq_wait_for_poll(struct irq_desc *desc) ...@@ -60,7 +60,7 @@ bool irq_wait_for_poll(struct irq_desc *desc)
/* /*
* Recovery handler for misrouted interrupts. * Recovery handler for misrouted interrupts.
*/ */
static int try_one_irq(int irq, struct irq_desc *desc, bool force) static int try_one_irq(struct irq_desc *desc, bool force)
{ {
irqreturn_t ret = IRQ_NONE; irqreturn_t ret = IRQ_NONE;
struct irqaction *action; struct irqaction *action;
...@@ -133,7 +133,7 @@ static int misrouted_irq(int irq) ...@@ -133,7 +133,7 @@ static int misrouted_irq(int irq)
if (i == irq) /* Already tried */ if (i == irq) /* Already tried */
continue; continue;
if (try_one_irq(i, desc, false)) if (try_one_irq(desc, false))
ok = 1; ok = 1;
} }
out: out:
...@@ -164,7 +164,7 @@ static void poll_spurious_irqs(unsigned long dummy) ...@@ -164,7 +164,7 @@ static void poll_spurious_irqs(unsigned long dummy)
continue; continue;
local_irq_disable(); local_irq_disable();
try_one_irq(i, desc, true); try_one_irq(desc, true);
local_irq_enable(); local_irq_enable();
} }
out: out:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment