plugins: remove NULL check

This commit is contained in:
Jeevaka Badrappan
2011-01-29 05:34:44 -08:00
committed by Marcel Holtmann
parent f9b34de3d4
commit 8c667aadad
10 changed files with 4 additions and 36 deletions

View File

@@ -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))