swap: drop return value

We don't actually return any valid 'r' here, let's explicitly return 0
here hence instead.
This commit is contained in:
Lennart Poettering 2018-11-28 20:24:48 +01:00
parent eb04385dc5
commit a0a424083f

View file

@ -491,7 +491,7 @@ static int swap_process_new(Manager *m, const char *device, int prio, bool set_f
swap_setup_unit(m, devlink, device, prio, set_flags);
}
return r;
return 0;
}
static void swap_set_state(Swap *s, SwapState state) {