diff options
author | Denis Kenzior <denkenz@gmail.com> | 2015-12-03 13:04:21 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2015-12-03 13:04:21 -0600 |
commit | 78368c5c88963c78f48dbc0c1e6a92f525656ded (patch) | |
tree | c50fd0dc3c3abec5df1cf7dcb3ebb0fe3eba4fb1 /drivers | |
parent | 561ab0d34a91d3821d24a99726f713989b364135 (diff) | |
download | ofono-78368c5c88963c78f48dbc0c1e6a92f525656ded.tar.bz2 |
rilmodem: Get rid of useless member variable
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/rilmodem/gprs.c | 5 | ||||
-rw-r--r-- | drivers/rilmodem/gprs.h | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/drivers/rilmodem/gprs.c b/drivers/rilmodem/gprs.c index 51f4f96e..9bf84492 100644 --- a/drivers/rilmodem/gprs.c +++ b/drivers/rilmodem/gprs.c @@ -365,7 +365,7 @@ static void query_max_cids(struct ofono_gprs *gprs) { struct ril_gprs_data *gd = ofono_gprs_get_data(gprs); - g_ril_register(gd->ril, gd->state_changed_unsol, + g_ril_register(gd->ril, RIL_UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED, ril_gprs_state_change, gprs); /* @@ -469,9 +469,6 @@ void ril_gprs_start(struct ril_gprs_driver_data *driver_data, gd->ofono_attached = FALSE; gd->rild_status = -1; gd->tech = RADIO_TECH_UNKNOWN; - /* AOSP RILD tracks data network state together with voice */ - gd->state_changed_unsol = - RIL_UNSOL_RESPONSE_VOICE_NETWORK_STATE_CHANGED; ofono_gprs_set_data(gprs, gd); diff --git a/drivers/rilmodem/gprs.h b/drivers/rilmodem/gprs.h index fd7aadcc..e744177d 100644 --- a/drivers/rilmodem/gprs.h +++ b/drivers/rilmodem/gprs.h @@ -27,7 +27,6 @@ struct ril_gprs_data { gboolean ofono_attached; int rild_status; int tech; - int state_changed_unsol; int pending_deact_req; }; |