From 8c667aadad8b0028268735db710c0ddc8d60f4b7 Mon Sep 17 00:00:00 2001 From: Jeevaka Badrappan Date: Sat, 29 Jan 2011 05:34:44 -0800 Subject: plugins: remove NULL check --- plugins/zte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/zte.c') diff --git a/plugins/zte.c b/plugins/zte.c index 4693d933..822098d4 100644 --- a/plugins/zte.c +++ b/plugins/zte.c @@ -250,7 +250,7 @@ static void zte_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)) -- cgit v1.2.3