sparc/irq: Remove unneeded if check in sun4v_cookie_only_virqs()
authorThorsten Blum <thorsten.blum@linux.dev>
Tue, 14 Jan 2025 20:25:00 +0000 (21:25 +0100)
committerAndreas Larsson <andreas@gaisler.com>
Fri, 17 Jan 2025 15:33:48 +0000 (16:33 +0100)
commit2cec2c4dc90cbf5194c1acef08c1e74f0437af95
tree5f04dd72a9ba81aeb583dd47723dcda2e5846e2c
parent4b9f0bdc2071aa0c04f8bb1f624ee678221d938e
sparc/irq: Remove unneeded if check in sun4v_cookie_only_virqs()

Remove the unnecessary if check and return the result directly.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Link: https://lore.kernel.org/r/20250114202502.912690-1-thorsten.blum@linux.dev
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
arch/sparc/kernel/irq_64.c