diff options
author | Denis Kenzior <denkenz@gmail.com> | 2015-12-03 17:56:54 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2015-12-03 17:56:54 -0600 |
commit | eb3edbb760f0205d4ab6d12274f30e9f5fe35729 (patch) | |
tree | 77d421127fc472d8ee0649e4cad962176eeffde6 | |
parent | 234dfedbaaaafe110970ec0a140ae222c10cdae5 (diff) | |
download | ofono-eb3edbb760f0205d4ab6d12274f30e9f5fe35729.tar.bz2 |
gril: Remove unused ril_ofono_protocol_to_ril_string
-rw-r--r-- | gril/grilutil.c | 21 | ||||
-rw-r--r-- | gril/grilutil.h | 1 |
2 files changed, 0 insertions, 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); |