diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-04-27 17:07:37 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-04-28 17:27:33 -0500 |
commit | 244ea076cc4c1782d3471ed0875b2445f3a3c78c (patch) | |
tree | fd37a07a3c202a7ca8f51f4f376a8693e47ef2dc | |
parent | f9b2e5cf5a643f5cd1acba6e908b4bef38856c0c (diff) | |
download | ofono-244ea076cc4c1782d3471ed0875b2445f3a3c78c.tar.bz2 |
Fix: Remove easy uses of g_at_chat_shutdown
-rw-r--r-- | plugins/calypso.c | 2 | ||||
-rw-r--r-- | plugins/em770.c | 1 | ||||
-rw-r--r-- | plugins/hso.c | 2 | ||||
-rw-r--r-- | plugins/huawei.c | 1 | ||||
-rw-r--r-- | plugins/mbm.c | 2 | ||||
-rw-r--r-- | plugins/novatel.c | 1 | ||||
-rw-r--r-- | plugins/phonesim.c | 2 | ||||
-rw-r--r-- | plugins/ste.c | 1 |
8 files changed, 0 insertions, 12 deletions
diff --git a/plugins/calypso.c b/plugins/calypso.c index 9d6280cc..60f32421 100644 --- a/plugins/calypso.c +++ b/plugins/calypso.c @@ -203,7 +203,6 @@ static void cfun_set_on_cb(gboolean ok, GAtResult *result, gpointer user_data) int i; for (i = 0; i < NUM_DLC; i++) { - g_at_chat_shutdown(data->dlcs[i]); g_at_chat_unref(data->dlcs[i]); data->dlcs[i] = NULL; } @@ -410,7 +409,6 @@ static int calypso_disable(struct ofono_modem *modem) DBG(""); for (i = 0; i < NUM_DLC; i++) { - g_at_chat_shutdown(data->dlcs[i]); g_at_chat_unref(data->dlcs[i]); data->dlcs[i] = NULL; } diff --git a/plugins/em770.c b/plugins/em770.c index 138c67ac..de82f94e 100644 --- a/plugins/em770.c +++ b/plugins/em770.c @@ -144,7 +144,6 @@ static void cfun_disable(gboolean ok, GAtResult *result, gpointer user_data) DBG(""); - g_at_chat_shutdown(data->chat); g_at_chat_unref(data->chat); data->chat = NULL; diff --git a/plugins/hso.c b/plugins/hso.c index 27b69dce..dd9be672 100644 --- a/plugins/hso.c +++ b/plugins/hso.c @@ -165,7 +165,6 @@ static void cfun_disable(gboolean ok, GAtResult *result, gpointer user_data) DBG(""); - g_at_chat_shutdown(data->control); g_at_chat_unref(data->control); data->control = NULL; @@ -185,7 +184,6 @@ static int hso_disable(struct ofono_modem *modem) g_at_chat_cancel_all(data->control); g_at_chat_unregister_all(data->control); - g_at_chat_shutdown(data->app); g_at_chat_unref(data->app); data->app = NULL; diff --git a/plugins/huawei.c b/plugins/huawei.c index 90fdcf04..df4d177f 100644 --- a/plugins/huawei.c +++ b/plugins/huawei.c @@ -135,7 +135,6 @@ static void cfun_disable(gboolean ok, GAtResult *result, gpointer user_data) DBG(""); - g_at_chat_shutdown(data->chat); g_at_chat_unref(data->chat); data->chat = NULL; diff --git a/plugins/mbm.c b/plugins/mbm.c index 79d180be..c67c7a59 100644 --- a/plugins/mbm.c +++ b/plugins/mbm.c @@ -253,11 +253,9 @@ static void cfun_disable(gboolean ok, GAtResult *result, gpointer user_data) DBG(""); - g_at_chat_shutdown(data->modem_port); g_at_chat_unref(data->modem_port); data->modem_port = NULL; - g_at_chat_shutdown(data->data_port); g_at_chat_unref(data->data_port); data->data_port = NULL; diff --git a/plugins/novatel.c b/plugins/novatel.c index 39288eba..792e17fa 100644 --- a/plugins/novatel.c +++ b/plugins/novatel.c @@ -126,7 +126,6 @@ static void cfun_disable(gboolean ok, GAtResult *result, gpointer user_data) DBG(""); - g_at_chat_shutdown(data->chat); g_at_chat_unref(data->chat); data->chat = NULL; diff --git a/plugins/phonesim.c b/plugins/phonesim.c index 37c7cfcb..d0cd7f37 100644 --- a/plugins/phonesim.c +++ b/plugins/phonesim.c @@ -261,8 +261,6 @@ static int phonesim_disable(struct ofono_modem *modem) DBG("%p", modem); - g_at_chat_shutdown(data->chat); - g_at_chat_unref(data->chat); data->chat = NULL; diff --git a/plugins/ste.c b/plugins/ste.c index 7e2df968..f3ae0b21 100644 --- a/plugins/ste.c +++ b/plugins/ste.c @@ -180,7 +180,6 @@ static void cfun_disable(gboolean ok, GAtResult *result, gpointer user_data) DBG(""); - g_at_chat_shutdown(data->chat); g_at_chat_unref(data->chat); data->chat = NULL; |