mirror of
https://github.com/systemd/systemd
synced 2024-10-15 04:24:19 +00:00
logind: small simplification
This commit is contained in:
parent
3841f57b87
commit
e83b8b6bc2
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue