MIPS: Octeon: Use arch_setup_msi_irq()
authorThomas Gleixner <tglx@linutronix.de>
Mon, 6 Dec 2021 22:27:38 +0000 (23:27 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 9 Dec 2021 10:52:21 +0000 (11:52 +0100)
commitbec61847cdc7ff22d6d85e6e6436d4b7416c1f9b
tree13617669d0290496c3de119b10ea5467fcad37e5
parent793c5006769d77b8148236bc124b75e391110531
MIPS: Octeon: Use arch_setup_msi_irq()

The core code provides the same loop code except for the MSI-X reject. Move
that to arch_setup_msi_irq() and remove the duplicated code.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Link: https://lore.kernel.org/r/20211206210224.319201379@linutronix.de
arch/mips/pci/msi-octeon.c