irq: mips: simplify do_domain_IRQ()
authorMark Rutland <mark.rutland@arm.com>
Wed, 20 Oct 2021 17:20:32 +0000 (18:20 +0100)
committerMark Rutland <mark.rutland@arm.com>
Mon, 25 Oct 2021 09:05:08 +0000 (10:05 +0100)
commit4cb6f4df976b288aa02bbb658d38e73d34d8231f
tree6cce2ed68ac6bad5b91050f26fbfd48c214890fb
parentbab4ff1edccd5853c956ac72e5152b073a237b50
irq: mips: simplify do_domain_IRQ()

There's no need fpr arch/mips's do_domain_IRQ() to open-code the NULL
check performed by handle_irq_desc(), nor the resolution of the desc
performed by generic_handle_domain_irq().

Use generic_handle_domain_irq() directly, as this is functioanlly
equivalent and clearer.

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
arch/mips/kernel/irq.c