sms: remove check for impossible NULL condition

tx_next() must never be called with entry == NULL and currently it
was already being dereferenced before making this check. Thus just
remove it.
This commit is contained in:
Lucas De Marchi 2011-02-04 17:40:38 -02:00 committed by Denis Kenzior
parent a1cfbb9c0c
commit 458ef95e5d
1 changed files with 0 additions and 3 deletions

View File

@ -757,9 +757,6 @@ static gboolean tx_next(gpointer user_data)
sms->tx_source = 0;
if (entry == NULL)
return FALSE;
if (sms->registered == FALSE)
return FALSE;