]> git.baikalelectronics.ru Git - kernel.git/commit
irq: simplify handle_domain_{irq,nmi}()
authorMark Rutland <mark.rutland@arm.com>
Tue, 19 Oct 2021 09:40:45 +0000 (10:40 +0100)
committerMark Rutland <mark.rutland@arm.com>
Mon, 25 Oct 2021 09:05:09 +0000 (10:05 +0100)
commit01fabe202da856c887800881b430b19dc0b8bab3
tree7050b0edddcc271674a679ab4a3ee4a58790e183
parentddb842d959a41bf20892aa6f305f4853c54fdbbb
irq: simplify handle_domain_{irq,nmi}()

There's no need for handle_domain_{irq,nmi}() 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. At the same time, delete the stale comments,
which are no longer helpful.

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>
Cc: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/irqdesc.c