diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-11-10 09:15:51 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-11-10 09:15:51 -0600 |
commit | c18e01be16b0036112f29af9f2f7e1a1a779e5f2 (patch) | |
tree | f4fba7611cfd5e97eb515bc5b6e29393587deeb5 /src/cbs.c | |
parent | 32e4eae81428d0fbca77893065629e5e8c1d7249 (diff) | |
download | ofono-c18e01be16b0036112f29af9f2f7e1a1a779e5f2.tar.bz2 |
cbs: Minor style fixes
Diffstat (limited to 'src/cbs.c')
-rw-r--r-- | src/cbs.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -182,7 +182,6 @@ void ofono_cbs_notify(struct ofono_cbs *cbs, const unsigned char *pdu, enum sms_charset charset; char *message; char iso639_lang[3]; - struct ofono_atom *sim_atom; if (cbs->assembly == NULL) return; @@ -193,8 +192,9 @@ void ofono_cbs_notify(struct ofono_cbs *cbs, const unsigned char *pdu, } if (cbs_topic_in_range(c.message_identifier, cbs->efcbmid_contents)) { - sim_atom = __ofono_modem_find_atom(modem, OFONO_ATOM_TYPE_SIM); + struct ofono_atom *sim_atom; + sim_atom = __ofono_modem_find_atom(modem, OFONO_ATOM_TYPE_SIM); if (!sim_atom) return; @@ -206,6 +206,7 @@ void ofono_cbs_notify(struct ofono_cbs *cbs, const unsigned char *pdu, if (cbs->stk) __ofono_cbs_sim_download(cbs->stk, &c); + return; } |