mirror of git://git.sysmocom.de/ofono
core: Minor style tweaks
This commit is contained in:
parent
a7a0cb1ed0
commit
3f798c4741
|
@ -1504,7 +1504,6 @@ void ofono_call_forwarding_register(struct ofono_call_forwarding *cf)
|
|||
|
||||
if (sim_atom) {
|
||||
cf->sim = __ofono_atom_get_data(sim_atom);
|
||||
|
||||
cf->sim_context = ofono_sim_context_create(cf->sim);
|
||||
|
||||
sim_read_cf_indicator(cf);
|
||||
|
|
|
@ -1072,7 +1072,6 @@ void ofono_cbs_register(struct ofono_cbs *cbs)
|
|||
|
||||
if (sim_atom) {
|
||||
cbs->sim = __ofono_atom_get_data(sim_atom);
|
||||
|
||||
cbs->sim_context = ofono_sim_context_create(cbs->sim);
|
||||
|
||||
if (ofono_sim_get_state(cbs->sim) == OFONO_SIM_STATE_READY)
|
||||
|
|
|
@ -966,7 +966,6 @@ void ofono_message_waiting_register(struct ofono_message_waiting *mw)
|
|||
if (sim_atom) {
|
||||
/* Assume that if sim atom exists, it is ready */
|
||||
mw->sim = __ofono_atom_get_data(sim_atom);
|
||||
|
||||
mw->sim_context = ofono_sim_context_create(mw->sim);
|
||||
|
||||
/* Loads MWI states and MBDN from SIM */
|
||||
|
|
|
@ -1815,7 +1815,6 @@ void ofono_netreg_register(struct ofono_netreg *netreg)
|
|||
if (sim_atom != NULL) {
|
||||
/* Assume that if sim atom exists, it is ready */
|
||||
netreg->sim = __ofono_atom_get_data(sim_atom);
|
||||
|
||||
netreg->sim_context = ofono_sim_context_create(netreg->sim);
|
||||
|
||||
netreg_load_settings(netreg);
|
||||
|
|
Loading…
Reference in New Issue