From 8fb4eb6d35a841d52d3edd61891868638fe358bf Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 12 Nov 2015 13:43:33 -0600 Subject: gril: Remove g_ril_request_dtmf --- gril/grilrequest.c | 15 --------------- gril/grilrequest.h | 4 ---- 2 files changed, 19 deletions(-) (limited to 'gril') diff --git a/gril/grilrequest.c b/gril/grilrequest.c index d0741e5a..dbae4207 100644 --- a/gril/grilrequest.c +++ b/gril/grilrequest.c @@ -603,21 +603,6 @@ void g_ril_request_hangup(GRil *gril, g_ril_append_print_buf(gril, "(%u)", call_id); } -void g_ril_request_dtmf(GRil *gril, - char dtmf_char, - struct parcel *rilp) -{ - char ril_dtmf[2]; - - parcel_init(rilp); - /* Ril wants just one character, but we need to send as string */ - ril_dtmf[0] = dtmf_char; - ril_dtmf[1] = '\0'; - parcel_w_string(rilp, ril_dtmf); - - g_ril_append_print_buf(gril, "(%s)", ril_dtmf); -} - void g_ril_request_oem_hook_raw(GRil *gril, const void *payload, size_t length, struct parcel *rilp) { diff --git a/gril/grilrequest.h b/gril/grilrequest.h index 54021033..8b73b2bf 100644 --- a/gril/grilrequest.h +++ b/gril/grilrequest.h @@ -153,10 +153,6 @@ void g_ril_request_hangup(GRil *gril, unsigned call_id, struct parcel *rilp); -void g_ril_request_dtmf(GRil *gril, - char dtmf_char, - struct parcel *rilp); - void g_ril_request_oem_hook_raw(GRil *gril, const void *payload, size_t length, struct parcel *rilp); -- cgit v1.2.3