diff options
Diffstat (limited to 'plugins/tc65.c')
-rw-r--r-- | plugins/tc65.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/tc65.c b/plugins/tc65.c index 60f66e70..f58f33de 100644 --- a/plugins/tc65.c +++ b/plugins/tc65.c @@ -159,13 +159,9 @@ static void tc65_set_online(struct ofono_modem *modem, ofono_bool_t online, DBG("modem %p %s", modem, online ? "online" : "offline"); - if (cbd == NULL) - goto error; - if (g_at_chat_send(chat, command, NULL, set_online_cb, cbd, g_free)) return; -error: g_free(cbd); CALLBACK_WITH_FAILURE(cb, cbd->data); |