Fix: The null check should be done elsewhere

This commit is contained in:
Denis Kenzior 2010-04-15 13:49:15 -05:00
parent 9271842748
commit ab4cae5479
1 changed files with 0 additions and 3 deletions

View File

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