plugins: remove unnecessary MM_BASE_MODEM() casts
This commit is contained in:
committed by
Aleksander Morgado
parent
c8ad177db9
commit
551197b4e5
@@ -502,7 +502,7 @@ disconnect_enap_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 ("Disconnection failed (not fatal): %s", error->message);
|
||||
g_error_free (error);
|
||||
|
||||
Reference in New Issue
Block a user