summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/login/logind-user.c3
-rw-r--r--src/login/logind-user.h1
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);