Skip to content

Commit d55dd6f

Browse files
bibo-maoKAGA-KOKO
authored andcommitted
LoongArch: Remove clockevents shutdown call on offlining
The clockevents core already detached and unregistered it at this stage. Signed-off-by: Bibo Mao <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected]
1 parent fe2a449 commit d55dd6f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/loongarch/kernel/time.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,6 @@ static int arch_timer_starting(unsigned int cpu)
112112

113113
static int arch_timer_dying(unsigned int cpu)
114114
{
115-
constant_set_state_shutdown(this_cpu_ptr(&constant_clockevent_device));
116-
117115
/* Clear Timer Interrupt */
118116
write_csr_tintclear(CSR_TINTCLR_TI);
119117

0 commit comments

Comments
 (0)