Commit a6aeddd1 authored by Thomas Gleixner's avatar Thomas Gleixner

genirq: Fix typo and remove unused variable

Sigh, I'm overworked.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 30398bf6
...@@ -60,7 +60,6 @@ void move_masked_irq(int irq) ...@@ -60,7 +60,6 @@ void move_masked_irq(int irq)
void irq_move_irq(struct irq_data *idata) void irq_move_irq(struct irq_data *idata)
{ {
struct irq_desc *desc = irq_data_to_desc(idata);
bool masked; bool masked;
if (likely(!irqd_is_setaffinity_pending(idata))) if (likely(!irqd_is_setaffinity_pending(idata)))
......
...@@ -48,7 +48,7 @@ bool irq_wait_for_poll(struct irq_desc *desc) ...@@ -48,7 +48,7 @@ bool irq_wait_for_poll(struct irq_desc *desc)
while (irqd_irq_inprogress(&desc->irq_data)) while (irqd_irq_inprogress(&desc->irq_data))
cpu_relax(); cpu_relax();
raw_spin_lock(&desc->lock); raw_spin_lock(&desc->lock);
} while irqd_irq_inprogress(&desc->irq_data); } while (irqd_irq_inprogress(&desc->irq_data));
/* Might have been disabled in meantime */ /* Might have been disabled in meantime */
return !irqd_irq_disabled(&desc->irq_data) && desc->action; return !irqd_irq_disabled(&desc->irq_data) && desc->action;
#else #else
......
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