mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
x86/IRQ: drop redundant cpumask_empty() from move_masked_irq()
The subsequent cpumask_intersects() covers the "empty" case quite fine. Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Roger Pau Monné <roger.pau@citrix.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
1 parent
d2679f9834
commit
a2070da838
1 file changed
-3
@@ -658,9 +658,6 @@ void move_masked_irq(struct irq_desc *desc)
|
||||
|
||||
desc->status &= ~IRQ_MOVE_PENDING;
|
||||
|
||||
if (unlikely(cpumask_empty(pending_mask)))
|
||||
return;
|
||||
|
||||
if (!desc->handler->set_affinity)
|
||||
return;
|
||||
|
||||
|
||||