summaryrefslogtreecommitdiffstats
path: root/gril
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2015-11-12 11:06:32 -0600
committerDenis Kenzior <denkenz@gmail.com>2015-11-12 11:06:32 -0600
commitc4806f1f43cbee6de8559272e26708d950361715 (patch)
tree04fc8560bc656e9fec5cd12900d442990b4956ce /gril
parentca06f58feff1bef3ffb3b3af135d51ca87046f4c (diff)
downloadofono-c4806f1f43cbee6de8559272e26708d950361715.tar.bz2
gril: Remove g_ril_request_pin_send_puk
Diffstat (limited to 'gril')
-rw-r--r--gril/grilrequest.c18
-rw-r--r--gril/grilrequest.h6
2 files changed, 0 insertions, 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,