From a30ca51c59fdbf11f6902d270c012389d0f3a0d6 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 3 Dec 2015 10:12:59 -0600 Subject: gril: Remove g_ril_request_oem_hook_raw --- gril/grilrequest.c | 15 --------------- gril/grilrequest.h | 3 --- 2 files changed, 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); -- cgit v1.2.3