From e83b8b6bc2e34ccc82ce62c99b34f1c8e67ba83d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 28 Apr 2019 11:06:50 +0200 Subject: [PATCH] logind: small simplification --- src/login/logind.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/login/logind.c b/src/login/logind.c index 4c0e8ce6b1c..f8a01d156e9 100644 --- a/src/login/logind.c +++ b/src/login/logind.c @@ -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); -- 2.47.3