broadband-modem-qmi: remove paranoid assert
We just created the GTask and we just updated the stored pointer, checking for it being non-NULL at this point is a bit paranoid
This commit is contained in:
@@ -2000,7 +2000,6 @@ common_power_up_down_off (MMIfaceModem *_self,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
self->priv->set_operating_mode_task = task;
|
self->priv->set_operating_mode_task = task;
|
||||||
g_assert (self->priv->set_operating_mode_task != NULL);
|
|
||||||
modem_power_indication_register (self);
|
modem_power_indication_register (self);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user