broadband-bearer: remove unnecessary MM_BASE_MODEM() casts
This commit is contained in:

committed by
Aleksander Morgado

parent
3d378bef5d
commit
d375224ffe
@@ -1442,7 +1442,7 @@ cgact_data_ready (MMBaseModem *modem,
|
|||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|
||||||
/* Ignore errors for now */
|
/* Ignore errors for now */
|
||||||
mm_base_modem_at_command_full_finish (MM_BASE_MODEM (modem), res, &error);
|
mm_base_modem_at_command_full_finish (modem, res, &error);
|
||||||
if (error) {
|
if (error) {
|
||||||
mm_dbg ("PDP context deactivation failed (not fatal): %s", error->message);
|
mm_dbg ("PDP context deactivation failed (not fatal): %s", error->message);
|
||||||
g_error_free (error);
|
g_error_free (error);
|
||||||
@@ -1551,7 +1551,7 @@ cgact_ready (MMBaseModem *modem,
|
|||||||
{
|
{
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|
||||||
mm_base_modem_at_command_full_finish (MM_BASE_MODEM (modem), res, &error);
|
mm_base_modem_at_command_full_finish (modem, res, &error);
|
||||||
if (!error)
|
if (!error)
|
||||||
ctx->cgact_sent = TRUE;
|
ctx->cgact_sent = TRUE;
|
||||||
else {
|
else {
|
||||||
|
Reference in New Issue
Block a user