diff options
author | Denis Kenzior <denkenz@gmail.com> | 2015-11-12 14:01:38 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2015-11-12 14:01:38 -0600 |
commit | 3ba8e4a99ac4c92a5d10ddf2bc5c2a525da61e34 (patch) | |
tree | 635abec84b5e2c32ab6986f9df81a94306780d74 | |
parent | 88f507c1acea03b6805d9a588b88a7ebb8ecc7f3 (diff) | |
download | ofono-3ba8e4a99ac4c92a5d10ddf2bc5c2a525da61e34.tar.bz2 |
gril: Remove g_ril_request_dial
-rw-r--r-- | gril/grilrequest.c | 21 | ||||
-rw-r--r-- | gril/grilrequest.h | 5 |
2 files changed, 0 insertions, 26 deletions
diff --git a/gril/grilrequest.c b/gril/grilrequest.c index 42b88134..91b43c4e 100644 --- a/gril/grilrequest.c +++ b/gril/grilrequest.c @@ -571,27 +571,6 @@ error: return FALSE; } -void g_ril_request_dial(GRil *gril, - const struct ofono_phone_number *ph, - enum ofono_clir_option clir, - struct parcel *rilp) -{ - parcel_init(rilp); - - /* Number to dial */ - parcel_w_string(rilp, phone_number_to_string(ph)); - /* CLIR mode */ - parcel_w_int32(rilp, clir); - /* USS, empty string */ - /* TODO: Deal with USS properly */ - parcel_w_int32(rilp, 0); - parcel_w_int32(rilp, 0); - - g_ril_append_print_buf(gril, "(%s,%d,0,0)", - phone_number_to_string(ph), - clir); -} - 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 f92fa335..87510942 100644 --- a/gril/grilrequest.h +++ b/gril/grilrequest.h @@ -144,11 +144,6 @@ gboolean g_ril_request_sim_write_record(GRil *gril, const struct req_sim_write_record *req, struct parcel *rilp); -void g_ril_request_dial(GRil *gril, - const struct ofono_phone_number *ph, - enum ofono_clir_option clir, - struct parcel *rilp); - void g_ril_request_oem_hook_raw(GRil *gril, const void *payload, size_t length, struct parcel *rilp); |