summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-07-07 14:28:11 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-07-08 14:27:34 -0500
commitd2dc0480db25d6aff634ea5cc0081997467ecfe7 (patch)
tree7b44ed3a38407cc6ec13c0b30c2283ff8bb81732 /src
parentbd33ab6a6f708ecf7dbb1e059d67502f3115eb62 (diff)
downloadofono-d2dc0480db25d6aff634ea5cc0081997467ecfe7.tar.bz2
stk: cancelled variable is not used
Diffstat (limited to 'src')
-rw-r--r--src/stk.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/stk.c b/src/stk.c
index f82d49f2..acb29fd5 100644
--- a/src/stk.c
+++ b/src/stk.c
@@ -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);