diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-07-07 14:28:11 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-07-08 14:27:34 -0500 |
commit | d2dc0480db25d6aff634ea5cc0081997467ecfe7 (patch) | |
tree | 7b44ed3a38407cc6ec13c0b30c2283ff8bb81732 /src/stk.c | |
parent | bd33ab6a6f708ecf7dbb1e059d67502f3115eb62 (diff) | |
download | ofono-d2dc0480db25d6aff634ea5cc0081997467ecfe7.tar.bz2 |
stk: cancelled variable is not used
Diffstat (limited to 'src/stk.c')
-rw-r--r-- | src/stk.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -52,7 +52,6 @@ struct ofono_stk { struct ofono_atom *atom; struct stk_command *pending_cmd; void (*cancel_cmd)(struct ofono_stk *stk); - gboolean cancelled; GQueue *envelope_q; struct stk_timer timers[8]; @@ -539,8 +538,6 @@ static void stk_proactive_command_cancel(struct ofono_stk *stk) if (!stk->pending_cmd) return; - stk->cancelled = TRUE; - stk->cancel_cmd(stk); if (stk->pending_cmd) { @@ -580,8 +577,6 @@ void ofono_stk_proactive_command_notify(struct ofono_stk *stk, for (i = 0; i < length; i ++) sprintf(buf + i * 2, "%02hhx", pdu[i]); - stk->cancelled = FALSE; - stk->pending_cmd = stk_command_new_from_pdu(pdu, length); if (!stk->pending_cmd) { ofono_error("Can't parse proactive command: %s", buf); |