summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-06-07 13:44:07 +0200
committerThomas Haller <thaller@redhat.com>2017-06-08 13:39:21 +0200
commitf5e59883721adc89869fd0a01affe80cf90bd32a (patch)
treea626b5a74fcbcb0272ec87cd2dcd01068e711637
parentdce0b5bbc682e5d37c5a9fa57264c0c71ddd261d (diff)
downloadNetworkManager-f5e59883721adc89869fd0a01affe80cf90bd32a.tar.gz
device: remove logging for emitting RECHECK_ASSUME signal
The device's RECHECK_ASSUME signal has only NMManager as subscriber and it immediately calls recheck_assume_connection(). With the previous commit, recheck_assume_connection() always logs a debug message, so we don't need this duplicate message anymore.
-rw-r--r--src/devices/nm-device.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 3aec0f8b43..98459e7aae 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -4357,10 +4357,9 @@ nm_device_emit_recheck_assume (gpointer user_data)
priv = NM_DEVICE_GET_PRIVATE (self);
priv->recheck_assume_id = 0;
- if (!nm_device_get_act_request (self)) {
- _LOGD (LOGD_DEVICE, "emit RECHECK_ASSUME signal");
+ if (!nm_device_get_act_request (self))
g_signal_emit (self, signals[RECHECK_ASSUME], 0);
- }
+
return G_SOURCE_REMOVE;
}