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:
Jan Beulich committed 2019-07-22 11:46:31 +02:00
1 parent d2679f9834
commit a2070da838
1 file changed
-3
-3
View File
@@ -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;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.