diff options
author | Zhenhua Zhang <zhenhua.zhang@intel.com> | 2009-11-03 11:19:39 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-11-03 11:19:39 -0600 |
commit | c40657216d89e899b2cabb9c9a7b94e067962023 (patch) | |
tree | 87210267d4c1267c3272df0554a606c0a5f44f48 | |
parent | ac5f67c46d1374506b3282b4089b2b3e31d59bc2 (diff) | |
download | ofono-c40657216d89e899b2cabb9c9a7b94e067962023.tar.bz2 |
Fix: Remove some dead code
-rw-r--r-- | drivers/hfpmodem/voicecall.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/hfpmodem/voicecall.c b/drivers/hfpmodem/voicecall.c index ebee6674..d1f45781 100644 --- a/drivers/hfpmodem/voicecall.c +++ b/drivers/hfpmodem/voicecall.c @@ -129,8 +129,7 @@ static void generic_cb(gboolean ok, GAtResult *result, gpointer user_data) call = l->data; if (req->affected_types & (0x1 << call->status)) - vd->local_release |= - (0x1 << call->id); + vd->local_release |= (0x1 << call->id); } } @@ -143,7 +142,6 @@ static void atd_cb(gboolean ok, GAtResult *result, gpointer user_data) struct ofono_voicecall *vc = cbd->user; struct voicecall_data *vd = ofono_voicecall_get_data(vc); ofono_voicecall_cb_t cb = cbd->cb; - GAtResultIter iter; int type = 128; int validity = 2; struct ofono_error error; @@ -156,8 +154,6 @@ static void atd_cb(gboolean ok, GAtResult *result, gpointer user_data) if (!ok) goto out; - g_at_result_iter_init(&iter, result); - call = create_call(vd, 0, 0, CALL_STATUS_DIALING, NULL, type, validity); if (!call) { |