mirror of git://git.sysmocom.de/ofono
gril: Remove unused ril_cardstate_to_string
This commit is contained in:
parent
f271665727
commit
b04013287d
|
@ -60,20 +60,6 @@ int ril_protocol_string_to_ofono_protocol(gchar *protocol_str)
|
|||
return result;
|
||||
}
|
||||
|
||||
const char *ril_cardstate_to_string(int card_state)
|
||||
{
|
||||
switch (card_state) {
|
||||
case RIL_CARDSTATE_ABSENT:
|
||||
return "ABSENT";
|
||||
case RIL_CARDSTATE_PRESENT:
|
||||
return "PRESENT";
|
||||
case RIL_CARDSTATE_ERROR:
|
||||
return "ERROR";
|
||||
default:
|
||||
return "<INVALID>";
|
||||
}
|
||||
}
|
||||
|
||||
const char *ril_error_to_string(int error)
|
||||
{
|
||||
switch (error) {
|
||||
|
|
|
@ -32,7 +32,6 @@ extern "C" {
|
|||
#include "gril.h"
|
||||
|
||||
int ril_protocol_string_to_ofono_protocol(gchar *protocol_str);
|
||||
const char *ril_cardstate_to_string(int card_state);
|
||||
const char *ril_error_to_string(int error);
|
||||
const char *ril_pinstate_to_string(int pin_state);
|
||||
const char *ril_radio_state_to_string(int radio_state);
|
||||
|
|
Loading…
Reference in New Issue