]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
hrtimer: Remove unused function
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fri, 22 Mar 2024 07:04:41 +0000 (15:04 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2025 14:29:59 +0000 (16:29 +0200)
commitf76b38f60fe21e1ddaa3ee6338dbf6c9b71b30fd
treedc66314069caa2379704ea0109f21c87b553a59a
parent34cac2d2983d0930b96b27ce89085cf986846b9a
hrtimer: Remove unused function

[ Upstream commit 82ccdf062a64f3c4ac575c16179ce68edbbbe8e4 ]

The function is defined, but not called anywhere:

  kernel/time/hrtimer.c:1880:20: warning: unused function '__hrtimer_peek_ahead_timers'.

Remove it.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240322070441.29646-1-jiapeng.chong@linux.alibaba.com
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8611
Stable-dep-of: e895f8e29119 ("hrtimers: Unconditionally update target CPU base after offline timer migration")
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/time/hrtimer.c