summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gril/grilreply.c32
-rw-r--r--gril/grilreply.h3
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