summaryrefslogtreecommitdiffstats
path: root/pwr.c
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2012-11-04 19:35:33 +0100
committerPaul Kocialkowski <contact@paulk.fr>2012-11-04 19:35:33 +0100
commitef110b3c3eeb92ec0636263423eaec0247bfc433 (patch)
treeb8952d2c1ffcb464204ea852c6b2522baa13b41c /pwr.c
parent2924bed3e740327f2c48c8d2508b1ba1e76a120a (diff)
downloadhardware_replicant_libsamsung-ril-ef110b3c3eeb92ec0636263423eaec0247bfc433.tar.gz
hardware_replicant_libsamsung-ril-ef110b3c3eeb92ec0636263423eaec0247bfc433.tar.bz2
hardware_replicant_libsamsung-ril-ef110b3c3eeb92ec0636263423eaec0247bfc433.zip
SMS: Use lists stored in ril_data instead of global table
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'pwr.c')
-rw-r--r--pwr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pwr.c b/pwr.c
index 92f25dd..b672f08 100644
--- a/pwr.c
+++ b/pwr.c
@@ -108,7 +108,6 @@ void ril_request_radio_power(RIL_Token t, void *data, size_t datalen)
ril_request_complete(t, RIL_E_SUCCESS, NULL, 0);
/* We're not going to get any message to make sure we're in LPM so tell RILJ we're off anyway */
- ril_globals_init();
ril_data.state.radio_state = RADIO_STATE_OFF;
ril_data.state.power_state = IPC_PWR_PHONE_STATE_LPM;