mirror of
https://github.com/systemd/systemd.git
synced 2026-08-04 15:10:33 +00:00
logind: small simplification
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user