]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/irq: Simplify __do_irq()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 9 Jun 2022 10:16:42 +0000 (12:16 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 29 Jun 2022 06:58:31 +0000 (16:58 +1000)
commitff9d6ef027063f040884ae8a4c284a29d472d538
treedfae0cd3becd147183099455c6dedec38796658e
parent38d186f83a797605c8546d749573da8e9e2049ff
powerpc/irq: Simplify __do_irq()

Remove duplicated code by implementing a proper if/else.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/5a3b21311191f1240850db6ab29b19ac7885fe03.1654769775.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/irq.c