mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
irqchip/apple-aic: Skip unnecessary enabling of use_fast_ipi
use_fast_ipi is true by default and there is no need to "enable" it. Signed-off-by: Nick Chan <towinchenmi@gmail.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Sven Peter <sven@svenpeter.dev> Link: https://lore.kernel.org/all/20240901034143.12731-3-towinchenmi@gmail.com
This commit is contained in:
parent
9e65863194
commit
5527b06c96
@ -987,9 +987,7 @@ static int __init aic_of_ic_init(struct device_node *node, struct device_node *p
|
||||
off += sizeof(u32) * (irqc->max_irq >> 5); /* MASK_CLR */
|
||||
off += sizeof(u32) * (irqc->max_irq >> 5); /* HW_STATE */
|
||||
|
||||
if (irqc->info.fast_ipi)
|
||||
static_branch_enable(&use_fast_ipi);
|
||||
else
|
||||
if (!irqc->info.fast_ipi)
|
||||
static_branch_disable(&use_fast_ipi);
|
||||
|
||||
irqc->info.die_stride = off - start_off;
|
||||
|
Loading…
Reference in New Issue
Block a user