summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2015-12-03 10:12:59 -0600
committerDenis Kenzior <denkenz@gmail.com>2015-12-03 10:12:59 -0600
commita30ca51c59fdbf11f6902d270c012389d0f3a0d6 (patch)
treec3d0657fe1b8c7d09f8a31df79172bef9e6198e0
parent4c2cd6fce6f64f831fb98043f62d97180e5c36bd (diff)
downloadofono-a30ca51c59fdbf11f6902d270c012389d0f3a0d6.tar.bz2
gril: Remove g_ril_request_oem_hook_raw
-rw-r--r--gril/grilrequest.c15
-rw-r--r--gril/grilrequest.h3
2 files changed, 0 insertions, 18 deletions
diff --git a/gril/grilrequest.c b/gril/grilrequest.c
index 76355dea..79d5edc5 100644
--- a/gril/grilrequest.c
+++ b/gril/grilrequest.c
@@ -58,21 +58,6 @@
error->error = 0; \
} while (0)
-void g_ril_request_oem_hook_raw(GRil *gril, const void *payload, size_t length,
- struct parcel *rilp)
-{
- char *hex_dump = NULL;
-
- parcel_init(rilp);
- parcel_w_raw(rilp, payload, length);
-
- if (payload != NULL)
- hex_dump = encode_hex(payload, length, '\0');
-
- g_ril_append_print_buf(gril, "(%s)", hex_dump ? hex_dump : "(null)");
- g_free(hex_dump);
-}
-
void g_ril_request_oem_hook_strings(GRil *gril, const char **strs, int num_str,
struct parcel *rilp)
{
diff --git a/gril/grilrequest.h b/gril/grilrequest.h
index 8bd7fb4b..6079c565 100644
--- a/gril/grilrequest.h
+++ b/gril/grilrequest.h
@@ -34,9 +34,6 @@
extern "C" {
#endif
-void g_ril_request_oem_hook_raw(GRil *gril, const void *payload, size_t length,
- struct parcel *rilp);
-
void g_ril_request_oem_hook_strings(GRil *gril, const char **strs, int num_str,
struct parcel *rilp);