genirq: Fix typo and remove unused variable
authorThomas Gleixner <tglx@linutronix.de>
Mon, 28 Mar 2011 18:28:56 +0000 (20:28 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 28 Mar 2011 18:28:56 +0000 (20:28 +0200)
Sigh, I'm overworked.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/migration.c
kernel/irq/spurious.c

index 5e81d34b08d60289d227c52b34b010c3b8af363e..e33d9c8d50896494409e77f7b28f1e5deee1ae97 100644 (file)
@@ -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)))
index cd424cdf17fcf407692e5621cee62631ee680636..83f4799f46be674af37403ed82ae1aedbc992d4d 100644 (file)
@@ -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