wwan/ofono: whitespace fixup

This commit is contained in:
Dan Williams 2016-06-17 13:38:06 -05:00 committed by Thomas Haller
parent 8a827b1b4f
commit 019b34af62
2 changed files with 1 additions and 5 deletions

View file

@ -305,7 +305,6 @@ ofono_enumerate_devices_done (GDBusProxy *proxy, GAsyncResult *res, gpointer use
static void ofono_appeared (NMModemManager *self);
static void
ofono_check_name_owner (NMModemManager *self)
{
@ -364,13 +363,12 @@ ofono_proxy_new_cb (GObject *source_object, GAsyncResult *res, gpointer user_dat
gs_free_error GError *error = NULL;
self->priv->ofono_proxy = g_dbus_proxy_new_finish (res, &error);
if (error) {
//FIXME: do stuff if there's an error.
return;
}
ofono_appeared (self);
ofono_check_name_owner (self);
}
#endif

View file

@ -175,8 +175,6 @@ disconnect_done (GDBusProxy *proxy,
NMModemOfono *self = ctx->self;
GError *error = NULL;
g_dbus_proxy_call_finish (proxy, result, &error);
if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {
nm_log_dbg (LOGD_MB, "(%s): disconnect cancelled",