diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-19 14:16:46 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-21 22:54:03 -0500 |
commit | eb53c37e2eb1ff9e2dbf370985dd53c62a98fa66 (patch) | |
tree | 1e18f1b2a37907461cf29ac859ddf49eab1eee33 | |
parent | e2f123b97b9af34f39cb18ce0c1c5ef6cb89117e (diff) |
logind: remove dead variable
Noticed-by: Jan Alexander Steffens <jan.steffens@gmail.com>
-rw-r--r-- | src/login/logind-user.c | 3 | ||||
-rw-r--r-- | src/login/logind-user.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/login/logind-user.c b/src/login/logind-user.c index 441e0860d9..0e46560d3f 100644 --- a/src/login/logind-user.c +++ b/src/login/logind-user.c @@ -637,9 +637,6 @@ UserState user_get_state(User *u) { assert(u); - if (u->closing) - return USER_CLOSING; - if (u->slice_job || u->service_job) return USER_OPENING; diff --git a/src/login/logind-user.h b/src/login/logind-user.h index 8d5f119e66..0062880560 100644 --- a/src/login/logind-user.h +++ b/src/login/logind-user.h @@ -61,7 +61,6 @@ struct User { bool in_gc_queue:1; bool started:1; - bool closing:1; LIST_HEAD(Session, sessions); LIST_FIELDS(User, gc_queue); |