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 /gril/grilutil.c | |
parent | 234dfedbaaaafe110970ec0a140ae222c10cdae5 (diff) | |
download | ofono-eb3edbb760f0205d4ab6d12274f30e9f5fe35729.tar.bz2 |
gril: Remove unused ril_ofono_protocol_to_ril_string
Diffstat (limited to 'gril/grilutil.c')
-rw-r--r-- | gril/grilutil.c | 21 |
1 files changed, 0 insertions, 21 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; |