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:
Aleksander Morgado
2022-01-11 11:32:36 +01:00
parent 447243f667
commit fa1e581f13

View File

@@ -2000,7 +2000,6 @@ common_power_up_down_off (MMIfaceModem *_self,
return;
}
self->priv->set_operating_mode_task = task;
g_assert (self->priv->set_operating_mode_task != NULL);
modem_power_indication_register (self);
}