aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmm-glib/mm-modem.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libmm-glib/mm-modem.c b/libmm-glib/mm-modem.c
index 02e322dd..40629051 100644
--- a/libmm-glib/mm-modem.c
+++ b/libmm-glib/mm-modem.c
@@ -2900,8 +2900,6 @@ mm_modem_command (MMModem *self,
g_return_if_fail (MM_IS_MODEM (self));
- if (g_dbus_proxy_get_default_timeout (G_DBUS_PROXY (self)) < timeout)
- g_warning ("Requested command timeout is shorter than the default DBus timeout");
mm_gdbus_modem_call_command (MM_GDBUS_MODEM (self), cmd, timeout, cancellable, callback, user_data);
}
@@ -2935,9 +2933,6 @@ mm_modem_command_sync (MMModem *self,
g_return_val_if_fail (MM_IS_MODEM (self), NULL);
- if (g_dbus_proxy_get_default_timeout (G_DBUS_PROXY (self)) < timeout)
- g_warning ("Requested command timeout is shorter than the default DBus timeout");
-
if (!mm_gdbus_modem_call_command_sync (MM_GDBUS_MODEM (self), cmd, timeout, &result, cancellable, error))
return NULL;