From a2070da838048bd865c4ef459d702ba5e6daa5bb Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Mon, 22 Jul 2019 11:46:31 +0200 Subject: [PATCH] x86/IRQ: drop redundant cpumask_empty() from move_masked_irq() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The subsequent cpumask_intersects() covers the "empty" case quite fine. Signed-off-by: Jan Beulich Reviewed-by: Roger Pau Monné Acked-by: Andrew Cooper --- xen/arch/x86/irq.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/xen/arch/x86/irq.c b/xen/arch/x86/irq.c index abd773f35d..5e062497ee 100644 --- a/xen/arch/x86/irq.c +++ b/xen/arch/x86/irq.c @@ -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; -- 2.30.2