MIPS: irq: Avoid an unused-variable error
authorYanteng Si <siyanteng01@gmail.com>
Thu, 28 Oct 2021 09:56:52 +0000 (17:56 +0800)
committerMarc Zyngier <maz@kernel.org>
Thu, 28 Oct 2021 12:28:52 +0000 (13:28 +0100)
commit34fca8947b2743e6a3a9a8a3a44962e625993533
tree3d91a61a437af7e92640db1f2b53553735e71ace
parent0953fb263714e1c8c1c3d395036d9a14310081dd
MIPS: irq: Avoid an unused-variable error

When CONFIG_IRQ_DOMAIN is set, there is a warning:
arch/mips/kernel/irq.c:114:19: error: unused variable 'desc' [-Werror=unused-variable]
  114 |  struct irq_desc *desc;
      |                   ^~~~

This variable is unused, let's remove it.

Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211028095652.3503790-1-siyanteng@loongson.cn
arch/mips/kernel/irq.c