genirq: Remove redundant thread affinity setting
authorThomas Gleixner <tglx@linutronix.de>
Mon, 14 Feb 2011 10:25:02 +0000 (11:25 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 19 Feb 2011 11:58:08 +0000 (12:58 +0100)
Thread affinity is already set by setup_affinity().

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

index dc95d53df510c0fc3dcd3d33f8a65b8aeac71b11..33a6ee0ac68f02bd5599d1955d7911ff7ace241d 100644 (file)
@@ -309,8 +309,6 @@ int irq_select_affinity_usr(unsigned int irq, struct cpumask *mask)
 
        raw_spin_lock_irqsave(&desc->lock, flags);
        ret = setup_affinity(irq, desc, mask);
-       if (!ret)
-               irq_set_thread_affinity(desc);
        raw_spin_unlock_irqrestore(&desc->lock, flags);
        return ret;
 }