summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-09-26 09:55:50 +0200
committerThomas Haller <thaller@redhat.com>2018-09-26 09:55:50 +0200
commitad10e79ae4ce018f59686030727c8d1d4749b85b (patch)
tree6aa92d5c42e4f85f64cb6818f4b3776981d2390c
parent60007d7cbd3950903a82bd904cfd62adfd862c9b (diff)
downloadNetworkManager-ad10e79ae4ce018f59686030727c8d1d4749b85b.tar.gz
dns: drop redundant call to clear_domain_lists() in update_dns()
It does nothing.
-rw-r--r--src/dns/nm-dns-manager.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dns/nm-dns-manager.c b/src/dns/nm-dns-manager.c
index 461a1385a5..7b81e3a4bf 100644
--- a/src/dns/nm-dns-manager.c
+++ b/src/dns/nm-dns-manager.c
@@ -1444,7 +1444,6 @@ update_dns (NMDnsManager *self,
* strings owned by IP configurations and we can't
* guarantee they stay alive. */
clear_domain_lists (self);
- clear_domain_lists (self);
update_resolv_conf_no_stub (self, searches, nameservers, options);