diff options
| author | Zhan Xusheng <zhanxusheng1024@gmail.com> | 2026-06-25 22:09:01 +0800 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-06-30 18:55:08 +0200 |
| commit | 034b5779b85b8ce2eacf235f41af15c21d10cf54 (patch) | |
| tree | d4544a1255b5954a39ce27789999427ecb3a3b62 /scripts/stackusage | |
| parent | dc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff) | |
| download | linux-034b5779b85b8ce2eacf235f41af15c21d10cf54.tar.gz linux-034b5779b85b8ce2eacf235f41af15c21d10cf54.zip | |
hrtimer: Remove unused clock_base_next_timer_safe()
clock_base_next_timer_safe() was added by commit a64ad57e41c7 ("hrtimer:
Simplify run_hrtimer_queues()") but has never had a caller; the queue
iteration in __hrtimer_run_queues() uses clock_base_next_timer() instead.
The two are functionally equivalent: struct hrtimer embeds the timerqueue
node at offset 0, so container_of() of a NULL node yields NULL. Thus
clock_base_next_timer() already returns NULL on an empty queue and the
explicit NULL check in the _safe variant is redundant.
Being a static __always_inline function it does not trigger
-Wunused-function, so the dead code has gone unnoticed. Remove it.
No functional change.
Signed-off-by: Zhan Xusheng <zhanxusheng@xiaomi.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260625140901.929554-1-zhanxusheng@xiaomi.com
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
