From ab4cae547900848f6b0ff89e470139f1521332cb Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 15 Apr 2010 13:49:15 -0500 Subject: Fix: The null check should be done elsewhere --- src/stk.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/stk.c b/src/stk.c index 733d13d6..8573d2ca 100644 --- a/src/stk.c +++ b/src/stk.c @@ -60,9 +60,6 @@ void __ofono_cbs_sim_download(struct ofono_stk *stk, { guint8 tlv[pdu_len + 8]; - if (stk == NULL) - return; - if (stk->driver->envelope == NULL) return; -- cgit v1.2.3