mirror of
https://github.com/sailfishos/ofono
synced 2025-12-01 23:21:04 +08:00
plugins: remove NULL check
This commit is contained in:
committed by
Marcel Holtmann
parent
f9b34de3d4
commit
8c667aadad
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user