提交 a6aeddd1 编写于 作者: T Thomas Gleixner

genirq: Fix typo and remove unused variable

Sigh, I'm overworked.
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 30398bf6
......@@ -60,7 +60,6 @@ void move_masked_irq(int irq)
void irq_move_irq(struct irq_data *idata)
{
struct irq_desc *desc = irq_data_to_desc(idata);
bool masked;
if (likely(!irqd_is_setaffinity_pending(idata)))
......
......@@ -48,7 +48,7 @@ bool irq_wait_for_poll(struct irq_desc *desc)
while (irqd_irq_inprogress(&desc->irq_data))
cpu_relax();
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 */
return !irqd_irq_disabled(&desc->irq_data) && desc->action;
#else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册