diff options
author | Maciej Wereski <m.wereski@partner.samsung.com> | 2014-02-19 11:39:00 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-02-19 16:24:13 +0100 |
commit | d1368aa9bd2f5748152ed0663566c0baa854dfc5 (patch) | |
tree | 790cbd701608be4e267c9e98a3214aff7a25f4bb | |
parent | 7bb2954901b2e568efaf67254e480032e0958cad (diff) |
logind: remove redundant check in manager_new()
-rw-r--r-- | src/login/logind.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/login/logind.c b/src/login/logind.c index 2add241066..7aea3cdcb1 100644 --- a/src/login/logind.c +++ b/src/login/logind.c @@ -73,8 +73,7 @@ Manager *manager_new(void) { m->busnames = set_new(string_hash_func, string_compare_func); if (!m->devices || !m->seats || !m->sessions || !m->users || !m->inhibitors || !m->buttons || !m->busnames || - !m->user_units || !m->session_units || - !m->busnames) { + !m->user_units || !m->session_units) { manager_free(m); return NULL; } |