aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libseat/backend/logind.c4
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;
}