diff mbox series

[v4,10/13] x86/IRQ: drop redundant cpumask_empty() from move_masked_irq()

Message ID 43977168-1b35-47b8-9829-09a167c6c2e3@suse.com (mailing list archive)
State New, archived
Headers show
Series [v4,01/13] x86/IRQ: deal with move-in-progress state in fixup_irqs() | expand

Commit Message

Jan Beulich July 16, 2019, 7:43 a.m. UTC
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>
diff mbox series

Patch

--- a/xen/arch/x86/irq.c
+++ b/xen/arch/x86/irq.c
@@ -658,9 +658,6 @@  void move_masked_irq(struct irq_desc *de
      
      desc->status &= ~IRQ_MOVE_PENDING;
  
-    if (unlikely(cpumask_empty(pending_mask)))
-        return;
-
      if (!desc->handler->set_affinity)
          return;