logind: small simplification

This commit is contained in:
Lennart Poettering 2019-04-28 11:06:50 +02:00
parent 3841f57b87
commit e83b8b6bc2

View file

@ -44,10 +44,9 @@ static int manager_new(Manager **ret) {
*m = (Manager) {
.console_active_fd = -1,
.reserve_vt_fd = -1,
.idle_action_not_before_usec = now(CLOCK_MONOTONIC),
};
m->idle_action_not_before_usec = now(CLOCK_MONOTONIC);
m->devices = hashmap_new(&string_hash_ops);
m->seats = hashmap_new(&string_hash_ops);
m->sessions = hashmap_new(&string_hash_ops);