mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 15:10:14 +01:00
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:
parent
d1095e00cb
commit
a2fc57beef
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue