[tip: timers/core] clocksource/drivers/timer-tegra: Remove clockevents shutdown call on offlining

tip-bot2 for Frederic Weisbecker posted 1 patch 3 weeks, 4 days ago
There is a newer version of this series
drivers/clocksource/timer-tegra.c | 1 -
1 file changed, 1 deletion(-)
[tip: timers/core] clocksource/drivers/timer-tegra: Remove clockevents shutdown call on offlining
Posted by tip-bot2 for Frederic Weisbecker 3 weeks, 4 days ago
The following commit has been merged into the timers/core branch of tip:

Commit-ID:     875cf0b1f0eb4fcd9007a0ac0891125d2ce9766b
Gitweb:        https://git.kernel.org/tip/875cf0b1f0eb4fcd9007a0ac0891125d2ce9766b
Author:        Frederic Weisbecker <frederic@kernel.org>
AuthorDate:    Tue, 29 Oct 2024 13:54:51 +01:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Wed, 30 Oct 2024 21:02:22 +01:00

clocksource/drivers/timer-tegra: Remove clockevents shutdown call on offlining

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

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20241029125451.54574-11-frederic@kernel.org

---
 drivers/clocksource/timer-tegra.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/clocksource/timer-tegra.c b/drivers/clocksource/timer-tegra.c
index e9635c2..35b6ce9 100644
--- a/drivers/clocksource/timer-tegra.c
+++ b/drivers/clocksource/timer-tegra.c
@@ -158,7 +158,6 @@ static int tegra_timer_stop(unsigned int cpu)
 {
 	struct timer_of *to = per_cpu_ptr(&tegra_to, cpu);
 
-	to->clkevt.set_state_shutdown(&to->clkevt);
 	disable_irq_nosync(to->clkevt.irq);
 
 	return 0;