Skip to content
Snippets Groups Projects
Commit 2b879eaf authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

genirq: Remove redundant thread affinity setting


Thread affinity is already set by setup_affinity().

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 3b8249e7
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment