From eb3edbb760f0205d4ab6d12274f30e9f5fe35729 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 3 Dec 2015 17:56:54 -0600 Subject: gril: Remove unused ril_ofono_protocol_to_ril_string --- gril/grilutil.c | 21 --------------------- gril/grilutil.h | 1 - 2 files changed, 22 deletions(-) diff --git a/gril/grilutil.c b/gril/grilutil.c index 6ef3875d..a8f965a9 100644 --- a/gril/grilutil.c +++ b/gril/grilutil.c @@ -44,27 +44,6 @@ static char temp_str[32]; -const char *ril_ofono_protocol_to_ril_string(guint protocol) -{ - char *result; - - switch (protocol) { - case OFONO_GPRS_PROTO_IPV6: - result = PROTO_IPV6_STR; - break; - case OFONO_GPRS_PROTO_IPV4V6: - result = PROTO_IPV4V6_STR; - break; - case OFONO_GPRS_PROTO_IP: - result = PROTO_IP_STR; - break; - default: - result = NULL; - } - - return result; -} - int ril_protocol_string_to_ofono_protocol(gchar *protocol_str) { int result; diff --git a/gril/grilutil.h b/gril/grilutil.h index 8251c6dc..16d72d59 100644 --- a/gril/grilutil.h +++ b/gril/grilutil.h @@ -31,7 +31,6 @@ extern "C" { #include "parcel.h" #include "gril.h" -const char *ril_ofono_protocol_to_ril_string(guint protocol); int ril_protocol_string_to_ofono_protocol(gchar *protocol_str); const char *ril_appstate_to_string(int app_state); const char *ril_apptype_to_string(int app_type); -- cgit v1.2.3