device: drop logging platform error on failure to set permanent MAC address

The platform error is in many cases not meaningful anyway.
This commit is contained in:
Thomas Haller 2015-06-15 17:56:28 +02:00
parent c1a945b95d
commit baec894139

View file

@ -8771,8 +8771,7 @@ constructed (GObject *object)
priv->perm_hw_addr);
} else {
/* Fall back to current address */
_LOGD (LOGD_HW | LOGD_ETHER, "unable to read permanent MAC address (error %d)",
nm_platform_get_error (NM_PLATFORM_GET));
_LOGD (LOGD_HW | LOGD_ETHER, "unable to read permanent MAC address");
priv->perm_hw_addr = g_strdup (priv->hw_addr);
}
}