stk: Remove unwanted error check

Possible return values of  __ofono_voicecall_tone_send
are -ENOSYS, -ENOENT, -ENOMEM and -EINVAL.
This commit is contained in:
Jeevaka Badrappan 2011-01-06 09:56:32 -08:00 committed by Marcel Holtmann
parent 3cb77a7223
commit b9ead5e736
1 changed files with 0 additions and 5 deletions

View File

@ -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;