drivers: timer: stm32: lptim: remove init to 0 of static

Remove initialization of static variable to 0 to prevent resetting the
value when reinitializing the driver after resume from standby.
This has no impact since static variables are initialized to 0 by default.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This commit is contained in:
Guillaume Gautier 2023-11-27 12:15:06 +01:00 committed by Carles Cufí
parent 09fbd4c2cd
commit e541666d90

View file

@ -448,8 +448,6 @@ static int sys_clock_driver_init(void)
stm32_lptim_wait_ready();
LL_LPTIM_ClearFlag_ARROK(LPTIM);
accumulated_lptim_cnt = 0;
#if !defined(CONFIG_SOC_SERIES_STM32U5X) && \
!defined(CONFIG_SOC_SERIES_STM32WBAX)
/* Enable the LPTIM counter */