logind: small simplification

This commit is contained in:
Lennart Poettering
2019-05-24 15:05:27 +02:00
parent 3841f57b87
commit e83b8b6bc2
+1 -2
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);