summaryrefslogtreecommitdiff
path: root/src/core/swap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/swap.c')
-rw-r--r--src/core/swap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/swap.c b/src/core/swap.c
index c184afa29d..e4b018616d 100644
--- a/src/core/swap.c
+++ b/src/core/swap.c
@@ -727,7 +727,6 @@ static void swap_enter_signal(Swap *s, SwapState state, SwapResult f) {
if (s->result == SWAP_SUCCESS)
s->result = f;
-
r = unit_kill_context(UNIT(s),
&s->kill_context,
state_to_kill_operation(s, state),
@@ -929,7 +928,6 @@ static int swap_stop(Unit *u) {
swap_enter_signal(s, SWAP_DEACTIVATING_SIGKILL, SWAP_SUCCESS);
return 0;
-
default:
assert_not_reached("Unexpected state.");
}