[PATCH] broadband-bearer: remove unnecessary MM_BASE_MODEM() casts
Ben Chan
benchan at chromium.org
Tue May 20 09:54:12 PDT 2014
---
src/mm-broadband-bearer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mm-broadband-bearer.c b/src/mm-broadband-bearer.c
index 00a7ba9..de762d7 100644
--- a/src/mm-broadband-bearer.c
+++ b/src/mm-broadband-bearer.c
@@ -1442,7 +1442,7 @@ cgact_data_ready (MMBaseModem *modem,
GError *error = NULL;
/* 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) {
mm_dbg ("PDP context deactivation failed (not fatal): %s", error->message);
g_error_free (error);
@@ -1551,7 +1551,7 @@ cgact_ready (MMBaseModem *modem,
{
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)
ctx->cgact_sent = TRUE;
else {
--
1.9.1.423.g4596e3a
More information about the ModemManager-devel
mailing list