summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-04-15 13:49:15 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-04-15 16:49:41 -0500
commitab4cae547900848f6b0ff89e470139f1521332cb (patch)
treeca88daac6bbf7230ff025b848dea458045ce5e5c
parent92718427486c33c5ee3381c61280c6a842a169e0 (diff)
downloadofono-ab4cae547900848f6b0ff89e470139f1521332cb.tar.bz2
Fix: The null check should be done elsewhere
-rw-r--r--src/stk.c3
1 files changed, 0 insertions, 3 deletions
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;