summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/network/networkd-link.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 990203b528..72765eebd8 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -1397,13 +1397,6 @@ int link_reconfigure_impl(Link *link, LinkReconfigurationFlag flags) {
/* Dropping old .network file */
if (FLAGS_SET(flags, LINK_RECONFIGURE_CLEANLY)) {
- /* Remove all static configurations. Note, dynamic configurations are dropped by
- * link_stop_engines(), and foreign configurations will be removed later by
- * link_configure() -> link_drop_unmanaged_config(). */
- r = link_drop_static_config(link);
- if (r < 0)
- return r;
-
/* Stop DHCP client and friends, and drop dynamic configurations like DHCP address. */
r = link_stop_engines(link, /* may_keep_dhcp = */ false);
if (r < 0)