diff options
author | Kenny Levinsen <kl@kl.wtf> | 2021-08-15 13:34:26 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-08-15 13:34:26 +0200 |
commit | 6e7a1db32d1a10593fd3adb95f8243ec322f472d (patch) | |
tree | 8d303702d7213a9f2c0ef449bd2ed1f681533acd /libseat | |
parent | 166feaea3394e00af14418e074ae090e31922f33 (diff) |
logind: Remove redundant null check
Diffstat (limited to 'libseat')
-rw-r--r-- | libseat/backend/logind.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libseat/backend/logind.c b/libseat/backend/logind.c index d62b976..cb809e7 100644 --- a/libseat/backend/logind.c +++ b/libseat/backend/logind.c @@ -245,10 +245,6 @@ static int dispatch_and_execute(struct libseat *base, int timeout) { static const char *seat_name(struct libseat *base) { struct backend_logind *backend = backend_logind_from_libseat_backend(base); - - if (backend->seat == NULL) { - return NULL; - } return backend->seat; } |