summaryrefslogtreecommitdiffstats
path: root/gril/grilunsol.c
diff options
context:
space:
mode:
Diffstat (limited to 'gril/grilunsol.c')
-rw-r--r--gril/grilunsol.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/gril/grilunsol.c b/gril/grilunsol.c
index ec2f537e..680251ae 100644
--- a/gril/grilunsol.c
+++ b/gril/grilunsol.c
@@ -309,26 +309,3 @@ error:
return NULL;
}
-
-int g_ril_unsol_parse_radio_state_changed(GRil *gril,
- const struct ril_msg *message)
-{
- struct parcel rilp;
- int radio_state;
-
- g_ril_init_parcel(message, &rilp);
-
- radio_state = parcel_r_int32(&rilp);
-
- if (rilp.malformed) {
- ofono_error("%s: malformed parcel received", __func__);
- radio_state = -1;
- }
-
- g_ril_append_print_buf(gril, "(state: %s)",
- ril_radio_state_to_string(radio_state));
-
- g_ril_print_unsol(gril, message);
-
- return radio_state;
-}