diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-02-08 12:28:23 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-02-08 12:28:23 -0600 |
commit | c98b951fe627e39c4c3ec699e4453d7803e51e11 (patch) | |
tree | 376b278cb3b4b5e405570586c8ad08a825b2ef7f /drivers/stemodem | |
parent | 7f9a9b0cdc82d5bb03230a343d5b1504f210c447 (diff) |
Refactor: Remove atutil dump_response
No longer needed now that we have nice AT command tracing using
OFONO_AT_DEBUG=1
Diffstat (limited to 'drivers/stemodem')
-rw-r--r-- | drivers/stemodem/gprs-context.c | 10 | ||||
-rw-r--r-- | drivers/stemodem/voicecall.c | 7 |
2 files changed, 0 insertions, 17 deletions
diff --git a/drivers/stemodem/gprs-context.c b/drivers/stemodem/gprs-context.c index 3c98d55d..2e54f9f9 100644 --- a/drivers/stemodem/gprs-context.c +++ b/drivers/stemodem/gprs-context.c @@ -239,8 +239,6 @@ static void ste_eppsd_down_cb(gboolean ok, GAtResult *result, struct conn_info *conn; GSList *l; - dump_response("ste_eppsd_down_cb", ok, result); - if (!ok) goto error; @@ -288,8 +286,6 @@ static void ste_eppsd_up_cb(gboolean ok, GAtResult *result, gpointer user_data) struct eppsd_response rsp; GMarkupParseContext *context = NULL; - dump_response("ste_eppsd_up_cb", ok, result); - l = g_slist_find_custom(g_caif_devices, GUINT_TO_POINTER(gcd->active_context), conn_compare_by_cid); @@ -370,8 +366,6 @@ static void ste_cgdcont_cb(gboolean ok, GAtResult *result, gpointer user_data) struct conn_info *conn; GSList *l; - dump_response("cgdcont_cb", ok, result); - if (!ok) { struct ofono_error error; @@ -503,8 +497,6 @@ static void ste_cgact_read_cb(gboolean ok, GAtResult *result, gint cid, state; GAtResultIter iter; - dump_response("cgact_read_cb", ok, result); - if (!ok) return; @@ -538,8 +530,6 @@ static void cgev_notify(GAtResult *result, gpointer user_data) GAtResultIter iter; const char *event; - dump_response("cgev_notify", TRUE, result); - g_at_result_iter_init(&iter, result); if (!g_at_result_iter_next(&iter, "+CGEV:")) diff --git a/drivers/stemodem/voicecall.c b/drivers/stemodem/voicecall.c index 2d746cc3..a56709ae 100644 --- a/drivers/stemodem/voicecall.c +++ b/drivers/stemodem/voicecall.c @@ -134,7 +134,6 @@ static void ste_generic_cb(gboolean ok, GAtResult *result, gpointer user_data) struct voicecall_data *vd = ofono_voicecall_get_data(req->vc); struct ofono_error error; - dump_response("ste_generic_cb", ok, result); decode_at_error(&error, g_at_result_final_response(result)); if (ok && req->affected_types) { @@ -159,7 +158,6 @@ static void release_id_cb(gboolean ok, GAtResult *result, struct voicecall_data *vd = ofono_voicecall_get_data(req->vc); struct ofono_error error; - dump_response("release_id_cb", ok, result); decode_at_error(&error, g_at_result_final_response(result)); if (ok) @@ -174,8 +172,6 @@ static void atd_cb(gboolean ok, GAtResult *result, gpointer user_data) struct ofono_error error; ofono_voicecall_cb_t cb = cbd->cb; - dump_response("atd_cb", ok, result); - decode_at_error(&error, g_at_result_final_response(result)); cb(&error, cbd->data); @@ -372,7 +368,6 @@ static void vts_cb(gboolean ok, GAtResult *result, gpointer user_data) ofono_voicecall_cb_t cb = cbd->cb; struct ofono_error error; - dump_response("vts_cb", ok, result); decode_at_error(&error, g_at_result_final_response(result)); cb(&error, cbd->data); } @@ -427,8 +422,6 @@ static void ecav_notify(GAtResult *result, gpointer user_data) GSList *l; /* Parse ECAV */ - dump_response("ecav_notify", TRUE, result); - g_at_result_iter_init(&iter, result); if (!g_at_result_iter_next(&iter, "*ECAV:")) |