From 26b39df884ec5fb3034730ca78b1013aa3d4d9eb Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 15 Jun 2015 17:56:28 +0200 Subject: [PATCH] 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 baec89413916e9c7891a1e7a8e749b597a9c2a9d) --- src/devices/nm-device.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 49e4e34d71..e4c1c88919 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -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); } }