Possible return values of __ofono_voicecall_tone_send
are -ENOSYS, -ENOENT, -ENOMEM and -EINVAL.
---
src/stk.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/src/stk.c b/src/stk.c
index bec46ea..932e49a 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;
--
1.7.0.4