summaryrefslogtreecommitdiffstats
path: root/drivers/isimodem/voicecall.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isimodem/voicecall.c')
-rw-r--r--drivers/isimodem/voicecall.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/drivers/isimodem/voicecall.c b/drivers/isimodem/voicecall.c
index 55f4c17e..6a1e582a 100644
--- a/drivers/isimodem/voicecall.c
+++ b/drivers/isimodem/voicecall.c
@@ -927,9 +927,8 @@ static struct isi_call_req_ctx *isi_call_dtmf_send_req(struct ofono_voicecall *o
static void isi_dial(struct ofono_voicecall *ovc,
const struct ofono_phone_number *restrict number,
- enum ofono_clir_option clir,
- enum ofono_cug_option cug,
- ofono_voicecall_cb_t cb, void *data)
+ enum ofono_clir_option clir, ofono_voicecall_cb_t cb,
+ void *data)
{
unsigned char presentation = CALL_GSM_PRESENTATION_DEFAULT;
@@ -945,15 +944,6 @@ static void isi_dial(struct ofono_voicecall *ovc,
break;
}
- switch (cug) {
- case OFONO_CUG_OPTION_DEFAULT:
- break;
- case OFONO_CUG_OPTION_INVOCATION:
- /* Not implemented */
- CALLBACK_WITH_FAILURE(cb, data);
- return;
- }
-
isi_call_create_req(ovc, presentation, number->type, number->number,
cb, data);
}