summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/stk.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/stk.c b/src/stk.c
index 871888d8..41464437 100644
--- a/src/stk.c
+++ b/src/stk.c
@@ -1307,11 +1307,6 @@ static void stk_unregister(struct ofono_atom *atom)
struct ofono_modem *modem = __ofono_atom_get_modem(atom);
const char *path = __ofono_atom_get_path(atom);
- if (stk->remove_agent_source) {
- g_source_remove(stk->remove_agent_source);
- stk->remove_agent_source = 0;
- }
-
if (stk->session_agent)
stk_agent_free(stk->session_agent);