Skip to content

Commit

Permalink
clocksource/drivers/timer-tegra: Remove clockevents shutdown call on …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
Frederic Weisbecker authored and Thomas Gleixner committed Oct 31, 2024
1 parent cd165ce commit bf9a001
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/clocksource/timer-tegra.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bf9a001

Please sign in to comment.