diff options
author | Denis Kenzior <denkenz@gmail.com> | 2015-11-05 10:47:42 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2015-11-05 10:47:42 -0600 |
commit | 4b5ccc56a341384006589e61ce0fd99978a3b201 (patch) | |
tree | b4225539f03a42a99e8c870163ad0b2fdac8399e /gril | |
parent | acee0e4755efbf433ba1c1e3ea8b4b01382ab01f (diff) | |
download | ofono-4b5ccc56a341384006589e61ce0fd99978a3b201.tar.bz2 |
gril: Remove g_ril_reply_parse_query_facility_lock
Diffstat (limited to 'gril')
-rw-r--r-- | gril/grilreply.c | 31 | ||||
-rw-r--r-- | gril/grilreply.h | 3 |
2 files changed, 0 insertions, 34 deletions
diff --git a/gril/grilreply.c b/gril/grilreply.c index b76b53f6..c854acf9 100644 --- a/gril/grilreply.c +++ b/gril/grilreply.c @@ -1020,37 +1020,6 @@ error: return -1; } -int g_ril_reply_parse_query_facility_lock(GRil *gril, - const struct ril_msg *message) -{ - struct parcel rilp; - int status, numint; - - g_ril_init_parcel(message, &rilp); - - /* infineon returns two integers */ - numint = parcel_r_int32(&rilp); - if (numint < 1) { - ofono_error("%s: wrong format", __func__); - goto error; - } - - status = parcel_r_int32(&rilp); - - if (rilp.malformed) { - ofono_error("%s: malformed parcel", __func__); - goto error; - } - - g_ril_append_print_buf(gril, "{%d}", status); - g_ril_print_response(gril, message); - - return status; - -error: - return -1; -} - int g_ril_reply_parse_set_facility_lock(GRil *gril, const struct ril_msg *message) { diff --git a/gril/grilreply.h b/gril/grilreply.h index 48cc95e8..aa3bb109 100644 --- a/gril/grilreply.h +++ b/gril/grilreply.h @@ -138,9 +138,6 @@ char *g_ril_reply_parse_get_imei(GRil *gril, int g_ril_reply_parse_get_preferred_network_type(GRil *gril, const struct ril_msg *message); -int g_ril_reply_parse_query_facility_lock(GRil *gril, - const struct ril_msg *message); - int g_ril_reply_parse_set_facility_lock(GRil *gril, const struct ril_msg *message); |