From 019b34af6208a4dfc4a0a2a400e8b6d62377b466 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 17 Jun 2016 13:38:06 -0500 Subject: [PATCH] wwan/ofono: whitespace fixup --- src/devices/wwan/nm-modem-manager.c | 4 +--- src/devices/wwan/nm-modem-ofono.c | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/devices/wwan/nm-modem-manager.c b/src/devices/wwan/nm-modem-manager.c index f4123f9fd1..bdb8b89382 100644 --- a/src/devices/wwan/nm-modem-manager.c +++ b/src/devices/wwan/nm-modem-manager.c @@ -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 diff --git a/src/devices/wwan/nm-modem-ofono.c b/src/devices/wwan/nm-modem-ofono.c index 4fc989d042..5cecd59eaa 100644 --- a/src/devices/wwan/nm-modem-ofono.c +++ b/src/devices/wwan/nm-modem-ofono.c @@ -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",