summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/swap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/swap.c b/src/swap.c
index 4404dc0e71..078ad9fbbf 100644
--- a/src/swap.c
+++ b/src/swap.c
@@ -211,9 +211,6 @@ static int swap_add_default_dependencies(Swap *s) {
if (s->meta.manager->running_as == MANAGER_SYSTEM) {
- if ((r = unit_add_dependency_by_name(UNIT(s), UNIT_AFTER, SPECIAL_SYSINIT_TARGET, NULL, true)) < 0)
- return r;
-
if ((r = unit_add_two_dependencies_by_name(UNIT(s), UNIT_BEFORE, UNIT_CONFLICTED_BY, SPECIAL_UMOUNT_TARGET, NULL, true)) < 0)
return r;
}