diff options
author | Denis Kenzior <denkenz@gmail.com> | 2015-12-03 10:33:41 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2015-12-03 10:33:41 -0600 |
commit | 36f33982f161389a39a6f73bff5c77fbd2106efc (patch) | |
tree | 81a9cf94523f7e3aa9689ec4c7949026af7ac70c /gril | |
parent | e3188e7d4382fdca5b18de0d1d0af20d34927298 (diff) | |
download | ofono-36f33982f161389a39a6f73bff5c77fbd2106efc.tar.gz |
gril: Remove g_ril_reply_oem_hook_strings
Diffstat (limited to 'gril')
-rw-r--r-- | gril/grilreply.c | 32 | ||||
-rw-r--r-- | gril/grilreply.h | 3 |
2 files changed, 0 insertions, 35 deletions
diff --git a/gril/grilreply.c b/gril/grilreply.c index e548c4ec..06e1b577 100644 --- a/gril/grilreply.c +++ b/gril/grilreply.c @@ -264,35 +264,3 @@ struct reply_oem_hook *g_ril_reply_oem_hook_raw(GRil *gril, end: return reply; } - -struct parcel_str_array *g_ril_reply_oem_hook_strings(GRil *gril, - const struct ril_msg *message) -{ - struct parcel rilp; - struct parcel_str_array *str_arr; - int i; - - g_ril_init_parcel(message, &rilp); - - str_arr = parcel_r_str_array(&rilp); - if (str_arr == NULL) { - ofono_error("%s: no strings", __func__); - goto out; - } - - g_ril_append_print_buf(gril, "{"); - - for (i = 0; i < str_arr->num_str; ++i) { - if (i + 1 == str_arr->num_str) - g_ril_append_print_buf(gril, "%s%s}", print_buf, - str_arr->str[i]); - else - g_ril_append_print_buf(gril, "%s%s, ", print_buf, - str_arr->str[i]); - } - - g_ril_print_response(gril, message); - -out: - return str_arr; -} diff --git a/gril/grilreply.h b/gril/grilreply.h index b63da9ab..abb85f65 100644 --- a/gril/grilreply.h +++ b/gril/grilreply.h @@ -47,9 +47,6 @@ void g_ril_reply_free_oem_hook(struct reply_oem_hook *oem_hook); struct reply_oem_hook *g_ril_reply_oem_hook_raw(GRil *gril, const struct ril_msg *message); -struct parcel_str_array *g_ril_reply_oem_hook_strings(GRil *gril, - const struct ril_msg *message); - #ifdef __cplusplus } #endif |