threshold_timer_update_intv(): call osmo_timer_del() unconditionally

osmo_timer_del() does check if a timer is active internally.

Change-Id: Icaf6f31a3235a3fb6993fa2bb35190150e35c2c2
This commit is contained in:
Vadim Yanitskiy 2022-07-22 03:40:46 +07:00
parent 1c6a3459cd
commit 19faae85c6
1 changed files with 1 additions and 2 deletions

View File

@ -312,8 +312,7 @@ static void threshold_timer_update_intv() {
return;
if (llist_empty(&threshold_list)) {
if (osmo_timer_pending(&threshold_timer))
osmo_timer_del(&threshold_timer);
osmo_timer_del(&threshold_timer);
return;
}