]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/ti-sci-inta: Remove dead code in ti_sci_inta_set_type()
authorTiezhu Yang <yangtiezhu@loongson.cn>
Sat, 6 Jun 2020 09:50:15 +0000 (17:50 +0800)
committerMarc Zyngier <maz@kernel.org>
Sat, 27 Jun 2020 10:54:21 +0000 (11:54 +0100)
commitba21a4014e53ed41180a9940f823e0743cb0ac2e
treef8b0736354444bb3b9659ec3f30ec257e3391812
parente86d80f3f3da4d1072ca810bbe97a8ef4bd674b0
irqchip/ti-sci-inta: Remove dead code in ti_sci_inta_set_type()

In the function ti_sci_inta_set_type(), the statement "return -EINVAL;"
out of switch case is dead code, remove it.

Fixes: 1782be6a837a ("irqchip/ti-sci-inta: Add support for Interrupt Aggregator driver")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Link: https://lore.kernel.org/r/1591437017-5295-1-git-send-email-yangtiezhu@loongson.cn
drivers/irqchip/irq-ti-sci-inta.c