From b9ead5e736bd17899737e549f8df5c2ad5ff67e2 Mon Sep 17 00:00:00 2001 From: Jeevaka Badrappan Date: Thu, 6 Jan 2011 09:56:32 -0800 Subject: [PATCH] stk: Remove unwanted error check Possible return values of __ofono_voicecall_tone_send are -ENOSYS, -ENOENT, -ENOMEM and -EINVAL. --- src/stk.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/stk.c b/src/stk.c index bec46ea7..932e49aa 100644 --- a/src/stk.c +++ b/src/stk.c @@ -2170,11 +2170,6 @@ static gboolean handle_command_send_dtmf(const struct stk_command *cmd, err = __ofono_voicecall_tone_send(vc, dtmf, dtmf_sent_cb, stk); - if (err == -EBUSY) { - rsp->result.type = STK_RESULT_TYPE_TERMINAL_BUSY; - return TRUE; - } - if (err == -ENOSYS) { rsp->result.type = STK_RESULT_TYPE_NOT_CAPABLE; return TRUE;