From: Thomas Gleixner Date: Mon, 14 Feb 2011 10:25:02 +0000 (+0100) Subject: genirq: Remove redundant thread affinity setting X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2b879eaf095878430c38cbd95e5c0fc4ce65ad8e;p=mv-sheeva.git genirq: Remove redundant thread affinity setting Thread affinity is already set by setup_affinity(). Signed-off-by: Thomas Gleixner --- 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; }