Skip to content

Commit 1835e72

Browse files
legoatermpe
authored andcommitted
powerpc/xive: Remove useless check on XIVE_IPI_HW_IRQ
The IPI interrupt has its own domain now. Testing the HW interrupt number is not needed anymore. Signed-off-by: Cédric Le Goater <[email protected]> Reviewed-by: Greg Kurz <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 7d34849 commit 1835e72

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arch/powerpc/sysdev/xive/common.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1421,13 +1421,12 @@ static void xive_flush_cpu_queue(unsigned int cpu, struct xive_cpu *xc)
14211421
struct irq_desc *desc = irq_to_desc(irq);
14221422
struct irq_data *d = irq_desc_get_irq_data(desc);
14231423
struct xive_irq_data *xd;
1424-
unsigned int hw_irq = (unsigned int)irqd_to_hwirq(d);
14251424

14261425
/*
14271426
* Ignore anything that isn't a XIVE irq and ignore
14281427
* IPIs, so can just be dropped.
14291428
*/
1430-
if (d->domain != xive_irq_domain || hw_irq == XIVE_IPI_HW_IRQ)
1429+
if (d->domain != xive_irq_domain)
14311430
continue;
14321431

14331432
/*

0 commit comments

Comments
 (0)