summaryrefslogtreecommitdiffstats
path: root/gril
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2015-11-12 11:40:08 -0600
committerDenis Kenzior <denkenz@gmail.com>2015-11-12 11:41:06 -0600
commita6dcf26df11a2175e7526e2b23a93c64b9ba5697 (patch)
treeab2815d1a40ec0b6bf775888272db2099556efe2 /gril
parenta3e4a5258379eeaba4c95015b47419d555f434de (diff)
downloadofono-a6dcf26df11a2175e7526e2b23a93c64b9ba5697.tar.bz2
gril: Remove g_ril_request_change_passwd
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 9b1ed6fb..5809286b 100644
--- a/gril/grilrequest.c
+++ b/gril/grilrequest.c
@@ -73,7 +73,6 @@
/* RIL_Request* parameter counts */
#define SET_FACILITY_LOCK_PARAMS 5
-#define CHANGE_SIM_PIN_PARAMS 3
/* RIL_FACILITY_LOCK parameters */
#define RIL_FACILITY_UNLOCK "0"
@@ -659,23 +658,6 @@ error:
return FALSE;
}
-void g_ril_request_change_passwd(GRil *gril,
- const char *old_passwd,
- const char *new_passwd,
- const gchar *aid_str,
- struct parcel *rilp)
-{
- parcel_init(rilp);
-
- parcel_w_int32(rilp, CHANGE_SIM_PIN_PARAMS);
- parcel_w_string(rilp, old_passwd);
- parcel_w_string(rilp, new_passwd);
- parcel_w_string(rilp, aid_str);
-
- g_ril_append_print_buf(gril, "(old=%s,new=%s,aid=%s)",
- old_passwd, new_passwd, aid_str);
-}
-
void g_ril_request_dial(GRil *gril,
const struct ofono_phone_number *ph,
enum ofono_clir_option clir,
diff --git a/gril/grilrequest.h b/gril/grilrequest.h
index fadf07bc..5dec831c 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_change_passwd(GRil *gril,
- const char *old_passwd,
- const char *new_passwd,
- const gchar *aid_str,
- struct parcel *rilp);
-
void g_ril_request_dial(GRil *gril,
const struct ofono_phone_number *ph,
enum ofono_clir_option clir,