diff --git a/gril/grilutil.c b/gril/grilutil.c index 89deceea..cf34d53a 100644 --- a/gril/grilutil.c +++ b/gril/grilutil.c @@ -60,27 +60,6 @@ int ril_protocol_string_to_ofono_protocol(gchar *protocol_str) return result; } -const char *ril_apptype_to_string(int app_type) -{ - - switch (app_type) { - case RIL_APPTYPE_UNKNOWN: - return "UNKNOWN"; - case RIL_APPTYPE_SIM: - return "SIM"; - case RIL_APPTYPE_USIM: - return "USIM"; - case RIL_APPTYPE_RUIM: - return "RUIM"; - case RIL_APPTYPE_CSIM: - return "CSIM"; - case RIL_APPTYPE_ISIM: - return "ISIM"; - default: - return ""; - } -} - const char *ril_authtype_to_string(int auth_type) { switch (auth_type) { diff --git a/gril/grilutil.h b/gril/grilutil.h index fe0752de..a6915d44 100644 --- a/gril/grilutil.h +++ b/gril/grilutil.h @@ -32,7 +32,6 @@ extern "C" { #include "gril.h" int ril_protocol_string_to_ofono_protocol(gchar *protocol_str); -const char *ril_apptype_to_string(int app_type); const char *ril_authtype_to_string(int auth_type); const char *ril_cardstate_to_string(int card_state); const char *ril_error_to_string(int error);