mirror of
https://github.com/systemd/systemd
synced 2024-10-15 12:34:37 +00:00
logind: remove dead variable
Noticed-by: Jan Alexander Steffens <jan.steffens@gmail.com>
This commit is contained in:
parent
e2f123b97b
commit
eb53c37e2e
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue