From ad10e79ae4ce018f59686030727c8d1d4749b85b Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 26 Sep 2018 09:55:50 +0200 Subject: [PATCH] dns: drop redundant call to clear_domain_lists() in update_dns() It does nothing. --- src/dns/nm-dns-manager.c | 1 - 1 file changed, 1 deletion(-) 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);