]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
irqchip/armada-370-xp: Simplify is_percpu_irq() code
authorMarek Behún <kabel@kernel.org>
Mon, 8 Jul 2024 15:17:59 +0000 (17:17 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 30 Jul 2024 11:35:46 +0000 (13:35 +0200)
commitccef3a991b7c972cccce4aee8e62f70e3a706e78
tree38ee321f21641a92debeb877911050129e447756
parent0cbbf7c15d197ac370387c08d900abe142153cd3
irqchip/armada-370-xp: Simplify is_percpu_irq() code

Simplify the code in the is_percpu_irq() function. Instead of
  if (condition)
    return true;
  return false;
simply return condition.

Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/all/20240708151801.11592-9-kabel@kernel.org
drivers/irqchip/irq-armada-370-xp.c