threshold_timer_update_intv(): call osmo_timer_del() unconditionally
osmo_timer_del() does check if a timer is active internally. Change-Id: Icaf6f31a3235a3fb6993fa2bb35190150e35c2c2changes/56/28956/1
parent
1c6a3459cd
commit
19faae85c6
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue