diff options
author | Jeevaka Badrappan <jeevaka.badrappan@elektrobit.com> | 2011-01-29 05:34:44 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-01-29 18:39:37 +0100 |
commit | 8c667aadad8b0028268735db710c0ddc8d60f4b7 (patch) | |
tree | d8a13ad939b5e3e05136709914bce5637964562d /plugins/novatel.c | |
parent | f9b34de3d41deb4c9f5cd50aa6dc9dc7bd186b00 (diff) | |
download | ofono-8c667aadad8b0028268735db710c0ddc8d60f4b7.tar.bz2 |
plugins: remove NULL check
Diffstat (limited to 'plugins/novatel.c')
-rw-r--r-- | plugins/novatel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/novatel.c b/plugins/novatel.c index fbd12166..1948c498 100644 --- a/plugins/novatel.c +++ b/plugins/novatel.c @@ -309,7 +309,7 @@ static void novatel_set_online(struct ofono_modem *modem, ofono_bool_t online, DBG("modem %p %s", modem, online ? "online" : "offline"); - if (cbd == NULL || chat == NULL) + if (chat == NULL) goto error; if (g_at_chat_send(chat, command, NULL, set_online_cb, cbd, g_free)) |