gril: Remove unused ril_appstate_to_string

This commit is contained in:
Denis Kenzior 2015-12-03 17:58:08 -06:00
parent eb3edbb760
commit e32748afb3
2 changed files with 0 additions and 21 deletions

View File

@ -60,26 +60,6 @@ int ril_protocol_string_to_ofono_protocol(gchar *protocol_str)
return result;
}
const char *ril_appstate_to_string(int app_state)
{
switch (app_state) {
case RIL_APPSTATE_UNKNOWN:
return "UNKNOWN";
case RIL_APPSTATE_DETECTED:
return "DETECTED";
case RIL_APPSTATE_PIN:
return "PIN";
case RIL_APPSTATE_PUK:
return "PUK";
case RIL_APPSTATE_SUBSCRIPTION_PERSO:
return "";
case RIL_APPSTATE_READY:
return "READY";
default:
return "<INVALID>";
}
}
const char *ril_apptype_to_string(int app_type)
{

View File

@ -32,7 +32,6 @@ extern "C" {
#include "gril.h"
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);
const char *ril_authtype_to_string(int auth_type);
const char *ril_cardstate_to_string(int card_state);