From c4806f1f43cbee6de8559272e26708d950361715 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 12 Nov 2015 11:06:32 -0600 Subject: [PATCH] gril: Remove g_ril_request_pin_send_puk --- gril/grilrequest.c | 18 ------------------ gril/grilrequest.h | 6 ------ 2 files changed, 24 deletions(-) diff --git a/gril/grilrequest.c b/gril/grilrequest.c index 1c88e7f3..9b1ed6fb 100644 --- a/gril/grilrequest.c +++ b/gril/grilrequest.c @@ -73,7 +73,6 @@ /* RIL_Request* parameter counts */ #define SET_FACILITY_LOCK_PARAMS 5 -#define ENTER_SIM_PUK_PARAMS 3 #define CHANGE_SIM_PIN_PARAMS 3 /* RIL_FACILITY_LOCK parameters */ @@ -660,23 +659,6 @@ error: return FALSE; } -void g_ril_request_pin_send_puk(GRil *gril, - const char *puk, - const char *passwd, - const gchar *aid_str, - struct parcel *rilp) -{ - parcel_init(rilp); - - parcel_w_int32(rilp, ENTER_SIM_PUK_PARAMS); - parcel_w_string(rilp, puk); - parcel_w_string(rilp, passwd); - parcel_w_string(rilp, aid_str); - - g_ril_append_print_buf(gril, "(puk=%s,pin=%s,aid=%s)", - puk, passwd, aid_str); -} - void g_ril_request_change_passwd(GRil *gril, const char *old_passwd, const char *new_passwd, diff --git a/gril/grilrequest.h b/gril/grilrequest.h index 4afe3b5b..fadf07bc 100644 --- a/gril/grilrequest.h +++ b/gril/grilrequest.h @@ -155,12 +155,6 @@ gboolean g_ril_request_pin_change_state(GRil *gril, const struct req_pin_change_state *req, struct parcel *rilp); -void g_ril_request_pin_send_puk(GRil *gril, - const char *puk, - const char *passwd, - const gchar *aid_str, - struct parcel *rilp); - void g_ril_request_change_passwd(GRil *gril, const char *old_passwd, const char *new_passwd,