Skip to content

Commit c2d4fee

Browse files
willdeaconKAGA-KOKO
authored andcommitted
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: Will Deacon <will@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20210524221818.15850-2-will@kernel.org
1 parent 1fa98d9 commit c2d4fee

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎kernel/time/tick-broadcast.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu)
253253
return ret;
254254
}
255255

256-
#ifdef CONFIG_GENERIC_CLOCKEVENTS_BROADCAST
257256
int tick_receive_broadcast(void)
258257
{
259258
struct tick_device *td = this_cpu_ptr(&tick_cpu_device);
@@ -268,7 +267,6 @@ int tick_receive_broadcast(void)
268267
evt->event_handler(evt);
269268
return 0;
270269
}
271-
#endif
272270

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

0 commit comments

Comments
 (0)