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/atmodem/voicecall.c | |
parent | 7f9a9b0cdc82d5bb03230a343d5b1504f210c447 (diff) | |
download | ofono-c98b951fe627e39c4c3ec699e4453d7803e51e11.tar.bz2 |
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/atmodem/voicecall.c')
-rw-r--r-- | drivers/atmodem/voicecall.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/atmodem/voicecall.c b/drivers/atmodem/voicecall.c index 8e432534..fce9144d 100644 --- a/drivers/atmodem/voicecall.c +++ b/drivers/atmodem/voicecall.c @@ -128,8 +128,6 @@ static void clcc_poll_cb(gboolean ok, GAtResult *result, gpointer user_data) struct ofono_call *nc, *oc; gboolean poll_again = FALSE; - dump_response("clcc_poll_cb", ok, result); - if (!ok) { ofono_error("We are polling CLCC and received an error"); ofono_error("All bets are off for call management"); @@ -217,7 +215,6 @@ static void 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("generic_cb", ok, result); decode_at_error(&error, g_at_result_final_response(result)); if (ok && req->affected_types) { @@ -246,7 +243,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) @@ -273,8 +269,6 @@ static void atd_cb(gboolean ok, GAtResult *result, gpointer user_data) struct ofono_call *call; GSList *l; - dump_response("atd_cb", ok, result); - decode_at_error(&error, g_at_result_final_response(result)); if (!ok) @@ -536,7 +530,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); } @@ -586,8 +579,6 @@ static void ring_notify(GAtResult *result, gpointer user_data) struct voicecall_data *vd = ofono_voicecall_get_data(vc); struct ofono_call *call; - dump_response("ring_notify", TRUE, result); - /* See comment in CRING */ if (g_slist_find_custom(vd->calls, GINT_TO_POINTER(5), at_util_call_compare_by_status)) @@ -618,8 +609,6 @@ static void cring_notify(GAtResult *result, gpointer user_data) const char *line; int type; - dump_response("cring_notify", TRUE, result); - /* Handle the following situation: * Active Call + Waiting Call. Active Call is Released. The Waiting * call becomes Incoming and RING/CRING indications are signaled. @@ -675,8 +664,6 @@ static void clip_notify(GAtResult *result, gpointer user_data) GSList *l; struct ofono_call *call; - dump_response("clip_notify", TRUE, result); - l = g_slist_find_custom(vd->calls, GINT_TO_POINTER(4), at_util_call_compare_by_status); @@ -740,8 +727,6 @@ static void ccwa_notify(GAtResult *result, gpointer user_data) int num_type, validity, cls; struct ofono_call *call; - dump_response("ccwa_notify", TRUE, result); - /* Some modems resend CCWA, ignore it the second time around */ if (g_slist_find_custom(vd->calls, GINT_TO_POINTER(5), at_util_call_compare_by_status)) |