summaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-14 11:25:02 +0100
committerThomas Gleixner <tglx@linutronix.de>2011-02-19 12:58:08 +0100
commit2b879eaf095878430c38cbd95e5c0fc4ce65ad8e (patch)
tree2459e581520f2dd64f7a9ab75306b2af049d1362 /kernel/irq
parent3b8249e759c701c4a82f99d957be651a7657bf6f (diff)
genirq: Remove redundant thread affinity setting
Thread affinity is already set by setup_affinity(). Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq')
-rw-r--r--kernel/irq/manage.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index dc95d53df51..33a6ee0ac68 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -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;
}