Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

hrtimers: Delete hrtimer_init_sleeper_on_stack()

hrtimer_init_sleeper_on_stack() is now unused. Delete it.

Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/52549846635c0b3a2abf82101f539efdabcd9778.1730386209.git.namcao@linutronix.de

authored by

Nam Cao and committed by
Thomas Gleixner
f3bef7aa 211647e5

-17
-3
include/linux/hrtimer.h
··· 235 235 extern void hrtimer_setup_on_stack(struct hrtimer *timer, 236 236 enum hrtimer_restart (*function)(struct hrtimer *), 237 237 clockid_t clock_id, enum hrtimer_mode mode); 238 - extern void hrtimer_init_sleeper_on_stack(struct hrtimer_sleeper *sl, 239 - clockid_t clock_id, 240 - enum hrtimer_mode mode); 241 238 extern void hrtimer_setup_sleeper_on_stack(struct hrtimer_sleeper *sl, clockid_t clock_id, 242 239 enum hrtimer_mode mode); 243 240
-14
kernel/time/hrtimer.c
··· 2052 2052 } 2053 2053 2054 2054 /** 2055 - * hrtimer_init_sleeper_on_stack - initialize a sleeper in stack memory 2056 - * @sl: sleeper to be initialized 2057 - * @clock_id: the clock to be used 2058 - * @mode: timer mode abs/rel 2059 - */ 2060 - void hrtimer_init_sleeper_on_stack(struct hrtimer_sleeper *sl, 2061 - clockid_t clock_id, enum hrtimer_mode mode) 2062 - { 2063 - debug_init_on_stack(&sl->timer, clock_id, mode); 2064 - __hrtimer_init_sleeper(sl, clock_id, mode); 2065 - } 2066 - EXPORT_SYMBOL_GPL(hrtimer_init_sleeper_on_stack); 2067 - 2068 - /** 2069 2055 * hrtimer_setup_sleeper_on_stack - initialize a sleeper in stack memory 2070 2056 * @sl: sleeper to be initialized 2071 2057 * @clock_id: the clock to be used