mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-17 04:08:07 +02:00
core: trivial subchannels logging cleanup
This commit is contained in:
parent
d08b7895fb
commit
7975295442
1 changed files with 5 additions and 9 deletions
|
|
@ -376,15 +376,6 @@ _update_s390_subchannels (NMDeviceEthernet *self)
|
|||
g_free (cdev_path);
|
||||
};
|
||||
|
||||
driver = nm_device_get_driver (NM_DEVICE (self));
|
||||
nm_log_info (LOGD_DEVICE | LOGD_HW,
|
||||
"(%s): found s390 '%s' subchannels [%s, %s, %s]",
|
||||
iface,
|
||||
driver ? driver : "(unknown driver)",
|
||||
priv->subchan1 ? priv->subchan1 : "(none)",
|
||||
priv->subchan2 ? priv->subchan2 : "(none)",
|
||||
priv->subchan3 ? priv->subchan3 : "(none)");
|
||||
|
||||
g_dir_close (dir);
|
||||
|
||||
if (priv->subchan3) {
|
||||
|
|
@ -399,6 +390,11 @@ _update_s390_subchannels (NMDeviceEthernet *self)
|
|||
} else
|
||||
priv->subchannels = g_strdup (priv->subchan1);
|
||||
|
||||
driver = nm_device_get_driver (NM_DEVICE (self));
|
||||
nm_log_info (LOGD_DEVICE | LOGD_HW,
|
||||
"(%s): found s390 '%s' subchannels [%s]",
|
||||
iface, driver ? driver : "(unknown driver)", priv->subchannels);
|
||||
|
||||
out:
|
||||
if (parent)
|
||||
g_object_unref (parent);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue