1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 17:51:22 +03:00

networkd: remove duplicate call to manager_dirty (#3917)

since link_dirty itself calls manager_dirty no need to
call it separately .
This commit is contained in:
Susant Sahani 2016-08-07 14:53:32 +05:30 committed by Lennart Poettering
parent 56bf97e10f
commit 2ad6b61049

View File

@ -395,10 +395,8 @@ int network_apply(Manager *manager, Network *network, Link *link) {
if (!strv_isempty(network->dns) || if (!strv_isempty(network->dns) ||
!strv_isempty(network->ntp) || !strv_isempty(network->ntp) ||
!strv_isempty(network->search_domains) || !strv_isempty(network->search_domains) ||
!strv_isempty(network->route_domains)) { !strv_isempty(network->route_domains))
manager_dirty(manager);
link_dirty(link); link_dirty(link);
}
return 0; return 0;
} }