From: Thomas Gleixner Date: Mon, 14 Feb 2011 10:25:02 +0000 (+0100) Subject: genirq: Remove redundant thread affinity setting X-Git-Tag: firefly_0821_release~7613^2~2231^2~9^2~77 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2b879eaf095878430c38cbd95e5c0fc4ce65ad8e;p=firefly-linux-kernel-4.4.55.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 dc95d53df510..33a6ee0ac68f 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; }