{ms,gprs_pcu}_talloc_destructor(): call osmo_timer_del() unconditionally
osmo_timer_del() does check if a timer is active internally.
Change-Id: I062c7636b59714860fa6b49a2d59c6528ebd57e3
diff --git a/src/gprs_ms.c b/src/gprs_ms.c
index 6daab31..3ed4244 100644
--- a/src/gprs_ms.c
+++ b/src/gprs_ms.c
@@ -142,8 +142,7 @@
ms_set_reserved_slots(ms, NULL, 0, 0);
- if (osmo_timer_pending(&ms->timer))
- osmo_timer_del(&ms->timer);
+ osmo_timer_del(&ms->timer);
if (ms->ul_tbf) {
tbf_set_ms((struct gprs_rlcmac_tbf *)ms->ul_tbf, NULL);