diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-28 01:30:13 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-28 01:30:13 +0200 |
commit | 008d348eddce97ef807fb908484efb0ade3172c5 (patch) | |
tree | 614bf091224ee1fa42b930271755a55899a9a240 /src/swap.c | |
parent | f89f1e8f836c8e646e0f95ab808ce20cab6ac114 (diff) |
swap: there's no reason not order swap after sysinit, so drop it
Diffstat (limited to 'src/swap.c')
-rw-r--r-- | src/swap.c | 3 |
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; } |