[tip: timers/core] LoongArch: Remove clockevents shutdown call on offlining

From: tip-bot2 for Bibo Mao
Date: Tue Sep 09 2025 - 07:42:58 EST


The following commit has been merged into the timers/core branch of tip:

Commit-ID: d55dd6f5e47dd85ab2086b62f7a747d3f8be0fa0
Gitweb: https://git.kernel.org/tip/d55dd6f5e47dd85ab2086b62f7a747d3f8be0fa0
Author: Bibo Mao <maobibo@xxxxxxxxxxx>
AuthorDate: Sat, 06 Sep 2025 14:49:52 +08:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Tue, 09 Sep 2025 13:39:00 +02:00

LoongArch: Remove clockevents shutdown call on offlining

The clockevents core already detached and unregistered it at this stage.

Signed-off-by: Bibo Mao <maobibo@xxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/all/20250906064952.3749122-3-maobibo@xxxxxxxxxxx

---
arch/loongarch/kernel/time.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/loongarch/kernel/time.c b/arch/loongarch/kernel/time.c
index f3092f2..6fb92cc 100644
--- a/arch/loongarch/kernel/time.c
+++ b/arch/loongarch/kernel/time.c
@@ -112,8 +112,6 @@ static int arch_timer_starting(unsigned int cpu)

static int arch_timer_dying(unsigned int cpu)
{
- constant_set_state_shutdown(this_cpu_ptr(&constant_clockevent_device));
-
/* Clear Timer Interrupt */
write_csr_tintclear(CSR_TINTCLR_TI);