trivial: remove redundant check

check_if_startup_complete() already checks priv->startup and returns
if it's FALSE.  This if() is redundant.
This commit is contained in:
Dan Williams 2014-05-20 14:19:34 -05:00
parent d1095e00cb
commit a2fc57beef

View file

@ -754,8 +754,7 @@ remove_device (NMManager *manager, NMDevice *device, gboolean quitting)
nm_dbus_manager_unregister_object (priv->dbus_mgr, device);
g_object_unref (device);
if (priv->startup)
check_if_startup_complete (manager);
check_if_startup_complete (manager);
}
static void