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

The platform error is in many cases not meaningful anyway.

(cherry picked from commit baec894139)
This commit is contained in:
Thomas Haller 2015-06-15 17:56:28 +02:00
parent 6a9cd7c113
commit 26b39df884

View file

@ -8528,8 +8528,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);
}
}