Commit c2d4fee3 authored by Will Deacon's avatar Will Deacon Committed by Thomas Gleixner
Browse files

tick/broadcast: Drop unneeded CONFIG_GENERIC_CLOCKEVENTS_BROADCAST guard



tick-broadcast.o is only built if CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
so remove the redundant #ifdef guards around the definition of
tick_receive_broadcast().

Signed-off-by: default avatarWill Deacon <will@kernel.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210524221818.15850-2-will@kernel.org
parent 1fa98d96
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -253,7 +253,6 @@ int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu)
	return ret;
	return ret;
}
}


#ifdef CONFIG_GENERIC_CLOCKEVENTS_BROADCAST
int tick_receive_broadcast(void)
int tick_receive_broadcast(void)
{
{
	struct tick_device *td = this_cpu_ptr(&tick_cpu_device);
	struct tick_device *td = this_cpu_ptr(&tick_cpu_device);
@@ -268,7 +267,6 @@ int tick_receive_broadcast(void)
	evt->event_handler(evt);
	evt->event_handler(evt);
	return 0;
	return 0;
}
}
#endif


/*
/*
 * Broadcast the event to the cpus, which are set in the mask (mangled).
 * Broadcast the event to the cpus, which are set in the mask (mangled).