mirror of git://git.sysmocom.de/ofono
gril: Remove unused ril_appstate_to_string
This commit is contained in:
parent
eb3edbb760
commit
e32748afb3
|
@ -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)
|
||||
{
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue