diff options
author | Denis Kenzior <denkenz@gmail.com> | 2015-11-04 21:35:13 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2015-11-04 21:35:13 -0600 |
commit | ee9d9207797a1aa70195756291ae6f0bad449485 (patch) | |
tree | 88bc66083b134eab669637f664633c68bda79023 /gril | |
parent | 8d23f61d90ef35a8ddfde16eaa3cc9975a031a9d (diff) | |
download | ofono-ee9d9207797a1aa70195756291ae6f0bad449485.tar.bz2 |
gril: Remove g_ril_reply_parse_query_clip
Diffstat (limited to 'gril')
-rw-r--r-- | gril/grilreply.c | 25 | ||||
-rw-r--r-- | gril/grilreply.h | 3 |
2 files changed, 0 insertions, 28 deletions
diff --git a/gril/grilreply.c b/gril/grilreply.c index 20ad3106..37a3473a 100644 --- a/gril/grilreply.c +++ b/gril/grilreply.c @@ -981,31 +981,6 @@ char *g_ril_reply_parse_get_imei(GRil *gril, return imei; } -int g_ril_reply_parse_query_clip(GRil *gril, - const struct ril_msg *message) -{ - struct parcel rilp; - int clip_status, numint; - - g_ril_init_parcel(message, &rilp); - - numint = parcel_r_int32(&rilp); - if (numint != 1) { - ofono_error("%s Wrong format", __func__); - goto error; - } - - clip_status = parcel_r_int32(&rilp); - - g_ril_append_print_buf(gril, "{%d}", clip_status); - g_ril_print_response(gril, message); - - return clip_status; - -error: - return -1; -} - void g_ril_reply_free_get_clir(struct reply_clir *rclir) { g_free(rclir); diff --git a/gril/grilreply.h b/gril/grilreply.h index 95566c92..464f7bb3 100644 --- a/gril/grilreply.h +++ b/gril/grilreply.h @@ -142,9 +142,6 @@ char *g_ril_reply_parse_baseband_version(GRil *gril, char *g_ril_reply_parse_get_imei(GRil *gril, const struct ril_msg *message); -int g_ril_reply_parse_query_clip(GRil *gril, - const struct ril_msg *message); - void g_ril_reply_free_get_clir(struct reply_clir *rclir); struct reply_clir *g_ril_reply_parse_get_clir(GRil *gril, |